JQL - search issues that link to issue type with specific fields

Maor Avitan December 30, 2019

i would like to search issue that link to another issue type with specific field value:

 

issuetype = "AI2 Order" and linkedIssueType = "Field - Test" and "Flight plan" ~ "No plan"

1 answer

0 votes
C_ Derek Fields
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
December 30, 2019

ScriptRunner has a builtin JQL function called LinkedIssuesOf that takes a subquery. This would let you write:

issuetype="AI2 Order" and issueFunction in linkedIssuesOf("IssueType = \"Field - Test\"") and "Flight plan" ~ "No plan"

Suggest an answer

Log in or Sign up to answer