JQL to filter Epics, Stories and Task linked to an Epic of another project


Is there is a filter I could use (a filter) to extract all the Epics, Stories and Tasks which are under "Project B" where "Epic A1" in "Project A" is an Initiative Epic for latest version of Jira


1 answer

There are third-party add-ons providing advanced JQL features. For example, JQL Tricks add-on provides 'issueFunction' feature which is capable of nesting JQL into subqueries.

With JQL Tricks you can do something like this:

project = B AND type = Epic AND issue in linkedIssues (A-1) OR project = B AND issueFunction in linkedIssuesOfAll ("type = Epic AND issue in linkedIssues (A-1)")

Without nested queries I don't think this is possible.



Thank you Shakuntha through forum and support behind the scene. Using

linkedIssuesOfAllRecursiveLimited("issueFunction in linkedIssuesOfRecursive('issue = A-1') AND labels in (XX, YY)",2) and sprint in openSprints () AND labels in (XX, YY)

Worked finally...

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Nov 27, 2018 in Portfolio for Jira

Introducing a new planning experience in Portfolio for Jira (Server/DC)

In the past, Portfolio for Jira required a high degree of detail–foresight that was unrealistic for many businesses to   have–in   order to produce a reliable long-term roadmap. We're tur...

2,397 views 15 19
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you