Block a transition until all sub-tasks have certain fields populated

Use case

Allow certain workflow transitions on an issue only if all its sub-tasks have a due date set.


⚒️ Configuration

Add the Logical validator to the desired workflow transition.

Expression

Add the following expression:

Bash
count(filterByPredicate(subtasks(), {function.issue.dueDate} != null)) = count(subtasks())


📷 Screenshots

BlockATransitionUntilAllSubTasksHaveCertainFieldsPopulated.png


📚 Related use cases