Are you in the loop? Keep up with the latest by making sure you're subscribed to Community Announcements. Just click Watch and select Articles.

×
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

A JQL filter that will show me open Epics with all of there Sub-task complete

Zachary Sharpe
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!
Nov 08, 2023

What i would like is a filter or JQL search or even a JQL for structure that allows me to see all Epics for my project that child tickets/sub-task that are complete. With the Epic still open. The end goal is to have filter that provides backup to the user. So when all child tickets of epics are complete i can take the epic to a ready to test state or closed. 

3 answers

1 accepted

1 vote
Answer accepted
Laurie Sciutti
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.
Nov 08, 2023

Hi @Zachary Sharpe ~ the straight JQL (if you have ScriptRunner) would look something like this (I included Stories and Tasks since I'm guessing you would want to see all issues in an Epic and not just sub-tasks):

 

statusCategory != Done and issueFunction in epicsOf("project = XXX and issuetype in (Story,Task, Sub-task)") and not issueFunction in epicsOf("project = XXX and issuetype in (Story,Task, Sub-task) AND resolution = unresolved")
Zachary Sharpe
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!
Nov 30, 2023

@Laurie Sciutti Thank you so much for the help and sorry for taking so long to get back to you. this is exactly what we needed. it helped many members of my team to stream line their work. I can't thank you enough for this filter!!!!!

 

Thank you, 

Zach

Like Laurie Sciutti likes this
Laurie Sciutti
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.
Nov 30, 2023

Excellent! I'm so happy this helped you, @Zachary Sharpe !

1 vote
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.
Nov 08, 2023

Hi @Zachary Sharpe,

Welcome to Atlassian Community!

In order to do a nested search you need an app that extends JQL. I have used both JQL Tricks and Scriptrunner to similar searches, but there are other apps in the Marketplace that can do this as well. 

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.
Nov 08, 2023

You can also use automation to change the status of the epic when all child issues are done. Here is an example from the Automation library that you can use as a starting point:

Screenshot 2023-11-08 at 4.15.11 PM.png

0 votes
Danut M [StonikByte]
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.
Nov 08, 2023

Hi @Zachary Sharpe,

Building such JQL could be difficult. Instead, you could try using the Work Breakdown Structure (WBS) gadget offered by our Great Gadgets plugin.

This gadget takes the issues from a specified filter and displays them in a tree structure, by their hierarchy, in form of Epics > Stories, Tasks > Sub-tasks along with their status.

image.png

All you have to do it to have a filter that returns the issues to be grouped and to configure the gadget to use this filter. You could use a filter that returns all the issues from your project or version.    

Please note that this app offers many other gadgets that you will find useful. Just have a look over the articles from our blog to make an idea. It can be a great asset for your team and company.

I hope this helps. 

Thank you,

Danut 

Suggest an answer

Log in or Sign up to answer