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 Join to answer
Community showcase
Sarah Schuster
Posted Jan 29, 2018 in Jira

What are common themes you've seen across successful & failed Jira Software implementations?

Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...

2,897 views 12 18
Join discussion

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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot