JQL query to get all epics and their child issues according to a filter on the Epics

I saw a thread about getting all child issues out of specific Epics, and obviously I can write a query to filter only specific desired epics (for example, according to label).

But I don't see a way to do both. Since the label, for example, isn't inherited by the child issues, I can't get all epics and their child issues where the parent Epic has a specific label/s.

1 answer

0 votes
Micky CARITTE Community Champion Jan 16, 2018

Hi,

I think there's no "subquery" option in JQL OOTB. You can't do something like getting all children from epic corresponding to a second filter.

That being said there are many plugins to get more JQL options (Scripting plugins can even allow you to develop your own set).

Hope this helps!

Cheers

thanks for the answer!

are there any parameters set on Epics that are "inherited" to their child tasks? (labels sadly are not such AFAIK)
if there had been such, I could've used them perhaps.

Micky CARITTE Community Champion Jan 16, 2018

At the epic child level, the "Epic Link" field will always be populated with the epic key, that might be a good way to get a subset if you have an exhaustive list of epics (2 steps).

Hop this helps!

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Mar 28, 2018 in Jira Software

Can a company’s culture make or break agile adoption?

Can a new-to-agile team survive and thrive in a non-agile culture? If so, what advice would you give to those trying to be agile in a non-agile culture? What's the key(s) to success? Share your thoug...

17,648 views 18 20
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