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
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Julia Dillon
Posted Tuesday in Jira

Tell us how your team runs on Jira!

Hey Atlassian Community! Today we are launching a bunch of customer stories about the amazing work teams, like Dropbox and Twilio, are doing with Jira. You can check out the stories here. The thi...

241 views 1 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