Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,556,265
Community Members
 
Community Events
184
Community Groups

JQL - list epics with a label and all their children to the bottom level

Edited
Mark Stephan
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
May 04, 2023

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!

3 answers

2 votes
Mikael Sandberg
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
May 04, 2023

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.

0 votes
Mark Stephan
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
May 11, 2023

I ended up using Structure as an app to help me with what I needed to do. Thanks for your help!

0 votes
mauricio_groth
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
May 04, 2023

Hi @Mark Stephan 

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

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
TAGS
AUG Leaders

Atlassian Community Events