As an alternative to some groovy looping, is it possible to make a JQL (possible using https://jamieechlin.atlassian.net/wiki/display/GRV/Scripted+JQL+Functions#ScriptedJQLFunctions-hasSubtasks() ) the give the result:
Find all open issues of type "Issue Tracker" where all subtasks are closed or resolved
Community moderators have prevented the ability to post new answers.
So you want "Issue Tracker that have no subtask which are in a status different from closed or resolved:
issuetype = "Issue Tracker" and status not in(closed, resolved) and not issuefunction in parentsOf("status not in (closed, resolved)")
Maybe add some addition conditions in parentsof function (project, issuetype).
Edit: forgot that issue tracker should be open as well. Added "and status not in (closed, resolved)"
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events