Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Table of Contents

Here you can find some most popular search examples. Just copy and paste with some modifications into the textarea: 

Image Modified

Find by Comment Author

...

Code Block
languagejs
{
  "issue.fields.issuelinks": {
    "$elemMatch": {
      "type.name": "Blocks",
      "inwardIssue.key": {"$regex": "MORPH-"},
      "inwardIssue.fields.status.name": {
        "$nin": [
          "Closed",
          "Resolved"
        ]
      }
    }
  }
}

Find not Finished Subtasks in a Sprint

All open subtasks within a sprint can be found using the following query:

Code Block
{
  "fields.customfield_10007": {"$regex": "Sample Sprint 2"},
  "fields.issuetype.subtask": true,
  "fields.status.name": {"$nin": ["Done"]}
}

where fields.customfield_10007 is the Sprint Name Custom Field, and "Sample Sprint 2" is the actual Sprint name

Find Tasks that has not Finished Subtasks in a Sprint

 Similar to the query above, but slightly reversed:

Code Block
{
  "fields.customfield_10007": {"$regex": "Sample Sprint 2"},
  "fields.issuetype.subtask": false,
  "fields.subtasks.fields.status.name": {"$nin": ["Done"]}
}

Reusing Results from Previous Search Query

...