On this page



Use case

Allow certain workflow transitions in "issue A" only if all their sub-tasks have a value on custom fields "user" and "date".


Configuration


Add theĀ Logical validator to the desired workflow transition.


Expression*

Add the following expression:

count(filterByPredicate(subtasks(), ^%{issue.cfnnnnn} != null and ^{issue.dueDate} != null)) = count(subtasks())


Replace ^%{issue.cfnnnnn} with the actual field code of the custom field.





Screenshots


Related use cases




JWT feature

Workflow function

Logical validator

Logical condition

Use case descriptionAllow a transition only if all sub-tasks have specific fields populated
Parser functions

count()

filterByPredicate()

subtasks()

Label





Status
Tech review

Style guide