How do I find all the stories associated with multiple epics?

I need to make a report showing progress on various themes.  Our themes are broken into epics, which are owned by teams.  How do I use JQL to find all of the stories associated with the epics under a given theme?

Using JQLT I can get a list of the Epics.  But I cannot use 

"Epic Link" in ("filter = 'epicslistgenerator'")

where epicslistgenerator is the filter which gives me a list of epics (whose stories I want to capture).

2 answers

Hi Greg,

If you're using our Structure plugin you can get there by grouping your Epics and using S-JQL as per the example in this post.

Instead of grouping by team, you would group your Epics under a Theme container in Structure, then with an S-JQL query like

issue in structure("structure_name", "child of (child of issue_id)")

you can retrieve children-of-children of the Theme, i.e. Stories.

You can use that query wherever JQL is accepted.

0 vote

What exactly is a theme here? You try something like this with JQLT:

issue in issuesWhereEpicIn("criteria to get the epics")

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...

202 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