Use case
Prevent external users from creating issues by enabling the transition only if the word EXTERNAL is not in the display name of the current user with a Logical validator.
βοΈ Configuration
Add the Logical validator validator to the Create workflow transition.
Expression
Write the following expression in the validator.
Bash
!matches(userDisplayName(%{issue.reporter}), ".*\\bEXTERNAL.*")
Error message
Add an error message like the following one.
Bash
External users can not create tickets