On this page

Use case

Prevent a transition if the number of components selected is less than 2.

Configuration

Add a Logical validator to the transition of your choice.

Expression

Enter the following parser expression.

numberOfSelectedItems(%{issue.components}) >= 2

Error message

Optionally, enter an error message.

 The number of components selected is less than 2.


Related use cases

JWT feature

Workflow function

Logical validator

Logical condition

Parser functionsnumberOfSelectedItems()
Label