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 Hide transitions from status "Status A" to "Status B" and if the previous status of the issue was "Status B". If the user needs to return to "Status AB" but that should be only possible from another status, let's say: "Status C"


Configuration

UI Steps


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


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"










Screenshots

Related 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