JQL Query to show all Epics and Stories in a Release

I'm trying to write a JQL to show all of the Epics currently assigned to a Release/Version, and all of the Stories that are linked to those Epics

1 answer

This widget could not be displayed.

With JIRA alone, I don't think this is possible to do in a single JQL query.   You could use two different queries to do this, but the first would have to be

issuetype=epic and fixVersion=7.3.4

to find the epic issue keys.  Let's say you had two diffent epics returned of ABC-22 and ABC-34.   You would then need to take the issue keys returned by that query and enter them into another query such as

"Epic Link" in (ABC-22,ABC-34)


If you're looking to return both results in a single query dynamically, then you would need to use a 3rd party plugin like Scriptrunner to be able to do this.  Scriptrunner adds a number of JQL functions such as issuesInEpics

With that plugin to JIRA you could do


issueFunction in issuesInEpics(issuetype=epic and fixVersion=7.3.4) OR (issuetype=epic and fixVersion=7.3.4)

This single query can return both the epics and all the issues in those epics, but only if you have scriptrunner add-on enabled in your JIRA instance.

Suggest an answer

Log in or Sign up to answer
Atlassian Summit 2018

Meet the community IRL

Atlassian Summit is an excellent opportunity for in-person support, training, and networking.

Learn more
Community showcase
Posted Wednesday in New to Jira

Are you planning to trial, or are currently trialling Jira Software? - We want to talk to you!

Hello! I'm Rayen, a product manager at Atlassian. My team and I are working hard to improve the trial experience for Jira Software Cloud. We are interested in   talking to 20 people planning t...

128 views 2 0
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