Page History
Page properties | ||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||||||||||||||||||||||||||||||||||||
|
UI Text Box | ||||
---|---|---|---|---|
| ||||
The logical parsing mode is mainly used in any conditional execution parameter of workflow post functions or genere. It comes with defined syntax that allows you to write JWT expression parser functions to read and manipulate data from any issue in Jira. The advanced text mode supports field codes as well as free text, written in quotation marks "". |
used to construct logical expressions. To construct these logical expressions, you can combine different elements, such as field codes, JWT expression parser functions and operators. The result must always return one of two distinct | ||||||
Expand | ||||||
---|---|---|---|---|---|---|
| Expression | Boolean value|||||
The main JWT features where you will be using the logical parsing mode are:
|
Example expressions
Parser expression | Description | |||||
---|---|---|---|---|---|---|
| This example returns:
| |||||
|
false
Code Block | ||
---|---|---|
| ||
"It is Monday" |
true
if it is actually Monday, false
otherwiseThis example returns:
|
Expressions can be combined or linked using operators to construct complex logical comparisons.
ExpressionParser expression |
---|
Description | ||||
---|---|---|---|---|
|
|
|
|
|
|
false
| This example returns:
| |||
|
"It is Monday" OR "It is Sunday"
true
if it is either Monday or Sunday, false
otherwiseLogical expressions, which can currently be used in the logical parsing mode are built using the following components:
To ease into the logical expressions, we have prepared some examples on how you can construct more or less complex logical expressions.
| This example returns:
|
Excerpt | |||||||
---|---|---|---|---|---|---|---|
| Examples of simple logical expressions | ||||||
Excerpt Include | Examples of logical expressions | Examples of logical expressions | |||||
nopanel | true |
A full list of examples can be found here.
Basic elements
The table below lists all simple elements or operands that can be used in a logical expression.
Status | ||||
---|---|---|---|---|
|
title | All elements that can be used in a logical expression |
---|
Output value
Status | ||||
---|---|---|---|---|
|
Status subtle true title boolean
true
or false
true, TRUE, false, FALSE
Status colour Green title boolean
"This is a text"
Status colour Yellow title string
Text lists are enclosed by square brackets. Not only literals can be used as elements, but also field codes.
["first element", "second element", %{issue.summary}]
Status subtle true title number
3
Status colour Blue title number
Number lists are enclosed by square brackets. Not only literals can be used as elements, but also field codes.
[5.1326, 3, 100000001, {issue.labels.length}]
Status subtle true title null
null
Status subtle true title null
Status subtle true title time period
SECOND
to YEAR
(in capital letters) in millisecondsMINUTE, DAY, WEEK, MONTH
Status colour Blue title number
Status subtle true title weekday
MONDAY
-SUNDAY
) - internally represented by a number TUESDAY
Status colour Blue title number
Status subtle true title month
JUNE
Status colour Blue title number
|
Excerpt Include | ||||||
---|---|---|---|---|---|---|
|
Excerpt Include | ||||||
---|---|---|---|---|---|---|
|
Page properties | ||
---|---|---|
| ||
|
Jona Ittermann , Thorsten Letschert : Kleiner Mini-Screencast? Construct a logical expression (e.g. issue.priority = "High" OR xyz) AND count(subtasks()) >= 3 mit kurzer Einblendung der jeweiligen Elemente?
Page properties | |||||||||
---|---|---|---|---|---|---|---|---|---|
hidden | trueStatus | ||||||||
Tech review |
| ||||||||
Style guide |
|
Status | ||
---|---|---|
|
Status | ||||
---|---|---|---|---|
|
Status | ||||
---|---|---|---|---|
|
Short description | Compose logical expressions using field codes and JWT expression parser functions. | ||||||||
---|---|---|---|---|---|---|---|---|---|
Supported elements | |||||||||
Output |
|
hidden | true |
---|
|