I'm fairly certain JQL does not automatically return counts of subtasks in a query because when I exclude subtasks in a query I get the same count as when I did not. How do I construct the JQL to return the count of Parent and Subtasks?
Example: project=ABC and issuetype=Defect and status!=Closed
-My count is 10 (and the list, of course)
-I know there is a sum of 5 subtasks across the 10
I would like to see 15 and the detail.
Or maybe this has been answered elsewhere?
Hi Angela,
You will want to include the issuetype of subtask in your JQL so they are included. The following JQL should return 15 items as long as those subtasks do not equal Closed.
project=ABC and issuetype in (Bug, Sub-task) and status!=Closed
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.