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

This widget could not be displayed.
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
Published Apr 22, 2018 in Jira Software

How-to setup a secured Jira Software 7.9.0 on Ubuntu 16.04.4 in less than 30 minutes

...PermissionsStartOnly=true User=www-data Group=www-data ExecStart=/opt/jira/bin/startup.sh ExecStop=/opt/jira/bin/shutdown.sh TimeoutStartSec=120 TimeoutStopSec=600 PrivateTmp=true [Install] WantedBy...

1,481 views 10 12
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