Filter parents status is ready for testing without resolved the subbtasks

Madhavi March 12, 2025

I need a query to filter the parent tickets status changed to ready for testing without resolving the dev sub task in jql. 

Ex: I have one parent story for that I have created two dev sub task.

Dev sub task status is open or in progress but I have change the parent story ticket status to Ready for testing so the query will return the main ticket. 

2 answers

0 votes
Ana Vitória Selista
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!
March 12, 2025

Hi Madhavi,

if you have Scriptrunner, use the following:


status = "Ready for Testing" AND issueType = your_issuetype AND issueFunction in hasSubtasks("resolutions is empty")

 

This JQL finds issues of a certain type that are in the "Ready for Testing" status and have at least one unresolved sub-task.

 Hope it helps!

Madhavi March 12, 2025

I want like suppose in sprint while I am changing the parent ticket status is ready for testing with out resolved sub task but after some time I have resolved sub task and parent ticket also. Still I need to show parent ticket by using jql query. 

 

0 votes
Vishal Biyani
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.
March 12, 2025

@Madhavi 

This is not feasible using native JQL as it does not allow subquery.

 

Suggest an answer

Log in or Sign up to answer