In the following use case the transition can only be executed, if there are at least two attachments defined for that issue.
Add the condition or validator to the desired transition or create a new transition.
Choose Attachment/sĀ
Choose >=
Choose radio button "Enter the custom comparison value."
Enter 2 in the editor field.
Please add at least two attachments!
Compare two values condition
Compare two values validator
Require a at least two attachments.
This use case is valid for both conditions and validators. The only difference is that you can specify an additional error message when using a validator.