If you use Script Runner for JIRA Server, you can run the following JQL to search for all non-Closed subtasks of a specific issue (that you know is Closed):
issueFunction in subtasksOf("issuekey = DUMMY-1") AND status != Closed
In this example, I'm searching for all non-Closed subtasks of DUMMY-1. You can surely modify the query according to your real scenarios.
If you'd like to look for all non-Closed subtasks of all Closed issues, you can use this:
issueFunction in linkedIssuesOf("status = Closed", jira_subtask_outward) AND status != Closed
Then you can use Bulk Change to close all of them.
I believe based on the first post-function example, you can write your own Groovy script. You just have to query all the issues you need and loop through them as you see in the example. Here is how to execute a JQL query: https://jamieechlin.atlassian.net/wiki/display/GRV/Miscellaneous+Groovy+Scripts#MiscellaneousGroovyScripts-ExecutingaQuery
Badges are a great way to show off community activity, whether you’re a newbie or a Champion.Learn more
As part of the Bitbucket product team I'm always interested in better understanding what kind of impact the use of our tools have on the way you work. In a recent study we conducted of software devel...
Connect with like-minded Atlassian users at free events near you!Find a group
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG
You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs