Versions Compared

Key

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

Related Usage Examples

Content by Label
showSpacefalse
cqllabel = "example" and label = "sub-task"


toc
Section
maxLevel


Column
1

Features used to implement the example

Example: Set a condition in a global transition which only applies in a certain status

Let me explain what I have understood: You have a global transition with destination status "Status2", and you want to set a condition to be applied only when issue is in "Status1". For the rest of statuses the condition will not be applied.

To implement that condition you have to use Boolean condition with math, date-time or text-string terms with a boolean expression like this: %{00016} != "Status1" OR (condition)

Let's see an example: If issue is in status "Status1we will show the global transition to the user only if Priority is "Blocker" and Due Date is set. In this example we use Boolean condition with math, date-time or text-string terms with the following configuration:

Image Removed

Text to be parsed is: %{00016} != "Status1" OR (%{00017} = "Blocker" AND {00012} != null)

Note that:

  • %{00016} is field code for Issue status
  • %{00017} is field code for Priority

  • {00012} is field code for numeric value of Due Date

Once configured, condition will look like this:

Image Removed

Other examples of that function

Incoming Links
pageBoolean condition and validator with math, date-time or text-string terms
labelsexample
width600px


Panel
borderColor#333f48
bgColor#FFFFFF
titleColor#eeeeee
borderWidth1
titleBGColor#333f48
borderStylesolid
titleOn this page

Table of Contents
maxLevel1



Column




Example: Set a condition in a global transition which only applies in a certain

statusLet me explain what I have understood: You have a global transition with destination

status

"Status2", and you want to set a condition to be applied only when issue is in "Status1". For the rest of statuses the condition will not be applied.

To implement that condition you have to use Boolean condition with math, date-time or text-string terms with a boolean expression like this: %{00016} != "Status1" OR (condition)

Let 's us see an example: If issue is in status "Status1we will show the global transition to the user only if Priority is "Blocker" and Due Date is set. In this example we use Boolean condition with math, date-time or text-string terms with the following configuration:


Text to be parsed is: %{00016}  

Wiki Markup

!=

"Status1"

OR

(%{00017}

=

"Blocker"

AND 

AND {00012}

 

!= null)


Note that:

  • %{00016} is field code for "Issue status"
  • %{00017} is field code for "Priority"

  • {00012} is field code for numeric value of "Due Date"


Once configured, the condition will look like this:



Other examples of that function

Incoming Links
pageBoolean condition and validator with math, . date-time or text-string terms
labelsexample



Related Usage Examples

Content by Label
showSpacefalse
cqllabel = "example" and label = "sub-task"