Reject duplicated file names in attachments

Use case

This validation fails if a name was used multiple times for the issue's attachments.


⚒️ Configuration

Add the Logical validator to the desired workflow transition.

Expression

Add the following expression:

Bash
count(toStringList(%{issue.attachments})) = count(distinct(toStringList(%{issue.attachments})))


📷 Screenshots

RejectDuplicatedFilleNamesInAttachments.png


📚 Related use cases