Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Add subtask status to filter for Parent tasks

Roshelle Coghlan
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!
April 7, 2025

We currently use this filter to get a list of all projects currently in the "Manufacture" status, we then have to manually click through the list to check if all of the subtasks are marked as "Done" or if any are still open.

JQL is currently "issuetype = ITP AND status = Manufacture order by created DESC"

Can we add a filter to only include parent projects whose subtasks are all marked as Done or Complete? I did try to look at previous questions but I know next to nothing about JQL.

2 answers

2 votes
Jack Brickey
Community Champion
April 8, 2025

Hi @Roshelle Coghlan , Welcome to the community.

JQL alone won't be able to accomplish your goal. Do you have a couple of options one of which is to use a third-party enhanced query addon such a scriptrunner or similar. another option would be to create an automation that would add a label to the parent issue once our children are marked as done. In that way, you could search for all issues with that label.

FYI, you refer to these parents as projects which is inaccurate terminology. Projects contain work items (issues). Work items consists of various types, including epic, story, task, subtask.

0 votes
Charlotte Santos -Appfire-
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.
April 8, 2025

Hi  @Roshelle Coghlan

I’m Charlotte, a support engineer at Appfire and I’m here to help you.

Unfortunately, natively, 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 get all parent issues in status Manufacture whose subtasks are marked as Done:

issue in parentsOfSubtasksInQuery("status=Done") AND type = ITP AND status = Manufacture

Please contact our support if you have any other questions about this query, or the app in general.

We’ll be happy to help you! 😉

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events