You basically need a workflow post-function plugin. You can write a jira plugin or use Jamie Echlins script runner plugin.
Here is a similar example in the documentation found in script runner plugin.
You might also find the following plugins related to sub-tasks useful. Take a look
I have used this with just the id changed in
), it worked as I expected.
Thank you, Bhushan and Jamie.
You could use a JCLI post function from CLI Plugin for JIRA with something like the following action:
--action runFromIssueList --search "parent = %parent_key% and status = Closed" --common "--action progressIssue --issue @issue@ --step ""Reopen issue"" " --server %base_url% --user automation --password ***
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