Block an Epic's transition depending on linked issues status and due date

Use case

Allow a certain transition in Epic's workflow to be executed, only if all its tasks are unresolved and have a due date set.


⚒️ Configuration

Add the Logical validator to the desired workflow transition.

Expression

Add the following expression:

Bash
count(filterByPredicate(linkedIssues("is Epic of"), %{function.issue.resolution} != null AND {function.issue.dueDate} != null)) = 0


📷 Screenshots

BlockAnEpicsTransitionDependingOnLinkedIssuesStatusAndDueDate.png


📚 Related use cases