Project automation - Code Barrel JIRA 2017-01-19 08-27-16.png
Here's what this does:
I've tried both your version and my modified version below and unfortuantley it's not working. What's weird is that I have 2 tasks linked to the Epic. When I transition both from To Do to Done, nothing happens. But then when I transition 1 (either) of the tasks back to "To Do" from "Done" it updates the status of the Epic from To Do to Done.
Of course, it should be updating the status when the both tasks linked to the epic transition to Done.
Hi @Rajesh Ramankutty not sure if with ScriptRunner you can do the same, but with JMWE I do a similar operation with Stories and Subtasks.
Then in the parent you need to have a condition like this:
All sub-tasks must have one of the following statuses to allow parent issue transitions: or
Question: We are using Sub-Tasks and Tasks in an Epic to manage onboarding. I am able to get the Epic to close when all Tasks are completed, but it does not close when a sub-task of the Epic is closed.
In the audit log when the final sub-task was closed, the action details stated:
"This rule was configured with a project restriction. You can change this restriction in the 'Rule details' section. Only issues from the following projects or project types will be considered:HR"
Is there something wrong in my Automation rule?