So I have a jython script post function that will create subtasks if they are needed based on some code logic. After that, I have a fast-track transition script postfunction with a condition to see if there are no subtasks. If there are no subtasks it will move it to a particular transition. This is working, however, it is moving the issue before subtasks are created, so every single issue is being move. It seems like it is following the order, but it only executes the script and immediately moves on, rather than waiting until the script is finished. How can I solve this?
Instead of 6 completing and then moving on to 7 & 8, it moves on as soon as 6 starts, so subtasks are not created before 8 goes.
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
We're bringing product updates and pro tips on teamwork to ten cities around the world.Save your spot