When a task makes a transition to 'Done' i want the parent story to make a transition if all other tasks belonging to that same story are also 'Done'.
To achieve this i added a post function to transition the parent issue. Now i want to add a condition to it so that it is only done if all children of the parent are in the target status. I have no clue how to do this. Any groovy expert around that can help me with this?