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

If you still have questions, feel free to refer to our support team.