The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

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

Maor Avitan
Contributor
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

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

0 votes
Derek Fields _RightStar_
Community Champion
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"

TAGS
AUG Leaders

Atlassian Community Events