How do I JQL Parent tickets that have ALL Sub-tasks that are closed?
Can't figure this one out!
1) Parents with resolution = Unresolved
and
2) ALL of their Sub-tasks with resolution != Unresolved
Probably requires an addon.
We have both ScriptRunner Enhanced Search and JQL Search Extensions addons.
Thanks
In Scriprunner Enchanced Search this works for me:
issuetype not in (subtaskIssueTypes(), Epic) and status not in ('Done', 'Closed') and numberOfSubtasks >= 1 and NOT issuefunction in parentsOf("status not in (Done, Closed)")
So for more context. We have a ton of Parent tickets that are open and all ALL of the subtasks are Done. We need to find all of these so we can close them.
The filter needs to show:
Only Parent tickets
Only Open Parents (StatusCategory != Done works, but would prefer using Resolution = Unresolved)
ALL subtasks are Done (StatusCategory = Done works, but would prefer using Resolution != Unresolved)
What we don’t want the filter to show:
Parents with any Open subtasks.
Sub-Tasks
Closed Parents
I have been messing around with this for hours and cant figure it out!
Thanks!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@ian.johnsen Did you find a solution? I'm looking for the same filter.
Thanks
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.