I've searched on this site and on google but still can't find a working solution to what I'm trying to do. I have several epics with a label "label1" (for example). I'm trying to search for and find all epics with that label, and display it along with all children to the bottom level. A pseudocode example of what I'm trying to do is:
project = projectname AND show-epic-and-all-children-of(set of epics with the label = label1)
Thanks so much in advance!
Hi @Mark Stephan,
Welcome to Atlassian Community!
This is not possible to do in default JQL, since it cannot do nested queries. You would need an app like Enhanced search, JQL Tricks or any of the other apps in the Marketplace that extends JQL to do this.
I made a filter that gets all epics of a given label and their respective children issues using this JQL:
(Type=Epic and labels=YOURLABEL) OR issueFunction in issuesInEpics("Type=Epic and labels=YOURLABEL")
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I ended up using Structure as an app to help me with what I needed to do. Thanks for your help!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I’m Maurício, a support engineer at Appfire and I’m here to help you.
Unfortunately, using JQL of Jira, you’ll not be able to do it dynamically.
In the app where my team works, JQL Search Extensions for Jira, you can use this query to find all Epics with the label “label1” and their children:
issue in childrenOfEpicsInQuery("project = 'project name' and labels = label1") OR issue in epicsOfChildrenInQuery("") and project = "project name" and labels = label1
Please contact our support if you have any other questions about this query.
We’ll be happy to help you!
Best regards,
Maurício
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.