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 vote
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
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published May 21, 2018 in Jira Software

How large do you think Jira Software can grow?

Hi Atlassian Community! My name is Shana, and I’m on the Jira Software team. One of the many reasons this Community exists is to connect you to others on similar product journeys or with comparabl...

1,225 views 10 18
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