Forums

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

Query Help

Spruha Shah August 5, 2024

Can you help to write a query that pulls in ALL subtasks that are open but their parent is CLOSED?

 

i need to get 2 filter queries: 

subtasks in a project which are open but their parent is CLosed. 

 

parent issues that are closed and their subtasks is not resolved

2 answers

0 votes
K Vivek Rao August 5, 2024


For the below requirement , if you are on cloud you can try this 

subtasks in a project which are open but their parent is CLosed. 

Try this, make sure you replace the project KEY "ZING" with your project KEY and write back if you notice any issue\


project = Zing AND issuetype = Sub-task AND status != Done AND parentStatus = Done

Trudy Claspill
Community Champion
August 6, 2024

@K Vivek Rao 

Welcome to the Atlassian community.

"parentStatus" is not a valid filter field in Jira Cloud natively. Does it actually work for you? Perhaps you have a third party app in your environment or it is a custom field set up in your environment.

0 votes
Trudy Claspill
Community Champion
August 5, 2024

Hello @Spruha Shah 

That is not possible if you have only native Jira functionality.

Do you have any third party plugins that extend the JQL capabilities, like ScriptRunner or JQL Tricks?

Your post tags indicate you are using Jira Server. What version of the product are you using?

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
SERVER
TAGS
AUG Leaders

Atlassian Community Events