Prevent a transition if the number of components selected is less than 2.
Add a Logical validator to the transition of your choice.
Enter the following parser expression.
numberOfSelectedItems(%{issue.components}) >= 2
Optionally, enter an error message.
The number of components selected is less than 2.
Logical validator
Logical condition