On this page



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:

%{issue.status} = "Closed" AND {system.currentDateTime} - {issue.lastStatusChange} > 7 * {DAY} IMPLIES isInRole(%{system.currentUser}, "Administrator") OR isInRole(%{system.currentUser}, "Supervisor")





Screenshots


Related use cases




JWT feature

Workflow function

Logical validator

Logical condition

Use case descriptionPrevent an issue from being reopened after being closed for a period of time unless the user has some specific roles.
Parser functionsisInRole()
Label





Status
Tech review

Style guide