The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

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

JQL: The status of all sub-tasks is Done, but the status of tasks is not Done.

박성우
July 8, 2022

Hi,
I want a JQL that contains all of the following:
The status of all sub-tasks is Done, but the status of tasks is not Done.

I've tried the JQL below, but it also contains values where all sub-tasks are not Done:
issuefunction in hassubtasks() AND status != Done AND issueFunction in parentsOf("status in (Done)")

Thanks to everyone who responded.

1 comment

Comments for this post are closed

Community moderators have prevented the ability to post new comments.

John Funk
Community Champion
July 9, 2022

Hi @박성우  - Welcome to the Atlassian Community!

You might try adding some parentheses to see if that helps. Try this:

(issuefunction in hassubtasks() AND status != Done) AND issueFunction in parentsOf("status in (Done)")

박성우
July 10, 2022

Thanks for the reply!
But the output is the same as the result I tried above.

TAGS
AUG Leaders

Atlassian Community Events