Futures used to implement the example
Example: Block transition until all sub-tasks are in a specific status category
In this example the parent issue should only be moved to status "DONE" when all sub-tasks are in status category "Done". Otherwise the transition will not be displayed.
For this the condition Boolean condition and validator with math, date-time or text-string terms is needed. It will be implemented on the parent issue's transition.
The configuration will look like this:
Text to be parsed is: count(filterByPredicate(subtasks(), ^%{00144} != "Done")) = 0
Note that:
- %{00144} is field code for field Issue status category
The issue cannot be transitioned as long as all sub-tasks are not in status category "Done":
As soon as all sub-tasks are in status category "Done", the parent issue can be transitioned as well: