Is it possible to use script runner to transition a parent issue based on the status of a subtask?
Right now I have this setup
My problem is this. The parent should automatically move to the "Rejected" Status whenever 1 or more of the sub-task are marked "Rejected" but this does not happen. At this point, the parent only follows the "Automatically transition the parent" based on the last sub-task transitioned. The only thing I can do is prevent the parent from moving to the "Approved" status with a transition with a condition but I cannot force the parent to transition to the "Rejected" status
Any help would be appreciated.
I created a workflow on the subtask that fast track the parent's transition.
When a subtask is rejected, the parent gets the "Not approved" transition fast tracked immediately.
When a subtask is approved, the parent gets the "Approved" transition fast tracked but only when the condition of "All subtask are set to approved" is met. This way, until all items are approved, the transition will never happen.
I had to update my script runner version to get this working (3.0.16)
The roof is on FIRE… network outages, broken processes, upset clients and employees. Each day seemed to bring more and more issues. Incidents were communicated via email, messengers (skype or teams) ...
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