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 Join to answer
Community showcase
Teodora [Botron]
Published Thursday in Marketplace Apps

Jira Inferno: The Nine Circles of Jira Administration Hell

If you spend enough time as a Jira admin - whether you are managing a single, mid-sized instance, a large enterprise one or juggling multiple instances at once - you will eventually find yourself in ...

776 views 5 17
Read article

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