Page History
Page properties | |||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||
Status |
|
Panel | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
On this page
|
Overview
UI Text Box | ||||
---|---|---|---|---|
| ||||
The logical parsing mode is 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
otherwise
| This example returns:
|
Excerpt |
---|
Logical 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.UI Expand | |||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| |||||||||||||||
s | |||||||||||||||
Element | Description | Example | Output value
| ||||||||||||
| A boolean value of true or false | true, TRUE, false, FALSE |
| ||||||||||||
Status | |||||||||||||||
subtle | true | ||||||||||||||
title | text | A quoted text or a text field code. | "This is a text" |
| |||||||||||
Status | |||||||||||||||
subtle | true | ||||||||||||||
title | Text list | 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}] | STRING [] | |||||||||||
| A numeric value or a numeric field code. | 3 |
| ||||||||||||
Status | |||||||||||||||
subtle | true | ||||||||||||||
title | number list | 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}] | NUMBER [] | |||||||||||
| A specific value for comparisons if a field or another value is not set or equals null. | null |
|
| A specific time period: from SECOND to YEAR (in capital letters) in milliseconds | MINUTE, DAY, WEEK, MONTH | |||||||||
Status | |||||||||||||||
colour | Blue | title | number
UI Expand | |
---|---|
|
A full list of examples can be found here.
Basic elements
Status | ||||
---|---|---|---|---|
|
The table below lists all simple elements or operands that can be used in a logical expression.
| weekday | The weekdays in capital letters (MONDAY -SUNDAY ) - internally represented by a number | TUESDAY |
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| The months in capital letters (JANUARY-DECEMBER) - internally represented by a number | JUNE |
|
|
Excerpt Include | ||||||
---|---|---|---|---|---|---|
|
Excerpt Include | ||||||
---|---|---|---|---|---|---|
|
Page properties | ||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||||||
|