Hello,
I have this structure
many Stories
|- 1 Subtask Summary A
|_ 1 Subtask Summary B
I am looking for a query to find all of those Stories that have Subtask A closed and
Subtask B in status open.
What would be the query for it?
Thank you
I believe with pure JQL this is difficult. Do the subtasks have specific names?
To find Stories where Subtask A is closed and Subtask B is open, you’ll likely need a plugin like ScriptRunner. Something like:
issueFunction in parentsOf("type = Sub-task AND summary ~ 'Summary A' AND status = Closed")
AND issueFunction in parentsOf("type = Sub-task AND summary ~ 'Summary B' AND status = Open")
If you don’t have plugins, you could use Jira Automation:
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @boellner boellner ,
Welcome to the Community! This can't be done with Jira out-of-the-box, so you may need an add-on. Mike's suggestions are good!
Sharing the link to these other posts for reference, his may provide some other alternatives or workarounds (e.g. exporting to a spreadsheet if this is a one-off task):
Note: For Jira Cloud the issueFuntion can be used as part of the enhanced search functionality (https://community.atlassian.com/t5/Jira-questions/Do-we-have-any-substitute-for-issuefunction-in-JIRA-Cloud/qaq-p/1539971)
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.