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?
Post-Function order:
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.