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?
You don't need script runner for this -
I have asnwered this questione before, please go through my answeres and comments -
Got it to work with that link. Did not take into account that conditions of the parent would still be fired when i call its transition from within the child. Thanks!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.