Page History
Table of Contents | ||
---|---|---|
|
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 "Status1" we 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} != "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:
Other examples of that function
Incoming Links | ||||
---|---|---|---|---|
| ||||
Related Usage Examples
Content by Label | ||||
---|---|---|---|---|
|
Table of Contents | ||
---|---|---|
|
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 "Status1" we 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 {00012} ! |
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:
Other examples of that function
page | Boolean condition and validator with math, date-time or text-string terms |
---|---|
labels | example |
Related Usage Examples
Content by Label | ||||
---|---|---|---|---|
|