Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.


Panel

On this page

Table of Contents
maxLevel2
exclude(On this page|Use case).*
stylecircle
typeflat
separatorpipe



UI Text Box
sizemedium
typeinfo

Use case

Prevent a certain issue from being reopened after seven days closed, unless user has the role of "Administrator" or "Supervisor".


Configuration

UI Steps


UI Step

Add the Logical validator to the desired workflow transition.


UI Step

Expression

Add the following expression:

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





Screenshots


Related use cases

Page properties report
firstcolumnUse case
headingsJWT feature, Workflow function, Parser functions, Label
sortByTitle
cqllabel = "use-case-workflow" and ancestor in ("32215720","27066629")


Excerpt Include
DECADIS:Contact support
DECADIS:Contact support
nopaneltrue


Page properties
hiddentrue


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



Page properties
hiddentrue



Status
Tech review

Status
colourGreen
titledone

Style guide

Status
colourGreen
titledone

Status
titletodo
Status
colourYellow
titleReady for review
Status
colourGreen
titledone
Status
colourRed
titleflagged