Table of Contents

Here you can find some most popular search examples

Find by Comment Author

This query will find all issues where a user with some@email.com email has left a comment

Code Block
languagejs
{
  "fields.comment.comments.author.emailAddress": "some@email.com"
}

Find by Linked Issues

This query will find all issues which have incoming or outgoing link "Block"

Code Block
languagejs
{
  "fields.issuelinks.type.name": "Block"
}

The query below finds all issues that are linked as "Blocks", are neither "Closed" nor "Resolved" and which are being linked by issues from the "MORPH" project

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