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).*
typeflat
separatorpipe



UI Text Box
sizemedium
typeinfo

Use case

If the issue moves from status "Status A" to "Status B" and the user needs to return to "Status A" but that should be only possible from another status let's say: "Status C"


Image ModifiedConfiguration


UI Steps


UI Step
Add the Logical condition to the workflow transition "Status A " in a transition that goes from Status B to Status A. These statuses symbolize the previous status and the current status.


step
UI Step

Expression

Add the following expression :to enable the transition only if the previous status of the issue was not Status B.

Code Block
languagebash
linenumberstrue
%{issue.status.previous}!="Status B"


ui-
text-box
typeinfo

If you need to prevent an issue from ever returning to the same status again, you should use the following expression instead.

Code Block
languagebash
linenumberstrue
fieldHistory(%{issue.status}) !~ "Status B"
Add and publish.








Image ModifiedScreenshots

Image ModifiedRelated use cases

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


Excerpt Include
DECADIS:Contact support
DECADIS:Contact support
nopaneltrue


Page properties
hiddentrue


JWT feature

Workflow function

Logical condition
Use case descriptionHide a transition based on the condition of the previous status.
Label



Page properties
hiddentrue



Status
Tech review

Status
colourGrey
titleto do

Style guide

Status
colourGreen
titledone

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