linkedIssuesOf()
- Jack Nolddor
Description:
Searches issues linked to the given subquery. Additionally you can further refine your query by specifying a link type. Note: This will not work Searches issues linked to Bug that are currently being reviewing This will work perfectly Searches issues linked to Bug that are currently being reviewing Searches issues linked to Bug that are currently being reviewing
Since you need to enclose the provided subquery using doble quotes, you must to escape any doble quotes using in the subquery by preceding a backslash after the double quotes, alternatively you can use a single quote in some cases.issue IN linkedIssuesOf("status = "Under Review" and type = Bug")
issue IN linkedIssuesOf("status = \"Under Review\" and type = Bug")
issue IN linkedIssuesOf("status = 'Under Review' and type = Bug")
Syntax | linkedIssuesOf(subquery) Where |
Available since | v1.8.0-RELEASE |
Supported fields | Issue |
Supported operators |
|
Unsupported operators |
|
Examples:
• Find issues linked to 'Open' Bugs:
issue IN linkedIssuesOf("type = Bug AND status = Open")
• Find 'In Progress' issues blocked by unresolved Impediments
status = "In Progress" AND issue IN linkedIssuesOf("type = Impediment AND resolution IS EMPTY", "blocks")
• Find issues (excl. subtask) on EMEA project linked to any Requirement
project = EMEA AND issue IN linkedIssuesOf("type = Requirement") AND type NOT IN subTaskIssueTypes()
Real World Use Cases:
· JRASERVER-25640 - JQL function for showing all issues linked to any issue by a given issue link type (by Chris Mountford)
· JQL query to see all Tests which are linked to all Stories in current Sprint (by SchuriiK at ATLASSIAN Community)
· JQL Query Assistance - Linked Issues (by jprentice at ATLASSIAN Community)
JQL Function Reference