Use case
Prevent a certain issue from being reopened after seven days closed, unless user has the role of "Administrator" or "Supervisor".
⚒️ Configuration
Add the Logical validator to the desired workflow transition.
Expression
Add the following expression:
Bash
%{issue.status} = "Closed" AND {system.currentDateTime} - {issue.lastStatusChange} > 7 * {DAY} IMPLIES isInRole(%{system.currentUser}, "Administrator") OR isInRole(%{system.currentUser}, "Supervisor")
📷 Screenshots