Versions Compared

Key

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


UI Text Box
sizemedium
typeinfo

The logical parsing mode is used to construct logical expressions that will always return or accept one of two distinct

Status
subtletrue
titleboolean
values: true or false

It comes with defined syntax that allows you to write JWT expression parser functions.

The main JWT element where you will be using the logical parsing mode are:

Example expressions

Parser expressionDescription


Code Block
linenumberstrue
3 < 5


This example returns:

true


Code Block
linenumberstrue
3 > 5


This example returns:

false


Code Block
linenumberstrue
"It is Monday"


This example returns:

true if it is actually Monday, false otherwise


Expressions can be combined or linked using operators to construct complex logical comparisons.


Parser expressionDescription


Code Block
linenumberstrue
"It is Monday" AND "It is Sunday"


This example returns:

false

At least if you are looking at a single time zone.


Code Block
linenumberstrue
"It is Monday" OR "It is Sunday"


This example returns:

true if it is either Monday or Sunday,  false otherwise


Logical expressions, which can currently be used in the logical parsing mode  are built using the following components:



Basic elements

The table below lists all simple elements or operands that can be used in a logical expression. 

UI Expand
titleAll elements that can be used in a logical expression


ElementDescriptionExample

Output


Status
subtletrue
titleboolean

A boolean value of true or false
true, TRUE, false, FALSE

Status
subtletrue
titleboolean

Status
subtletrue
titletext

A quoted text or a text field code.
"This is a text"

Status
subtletrue
titleText

Status
subtletrue
titleText 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}]

Status
subtletrue
titleText list

Status
subtletrue
titlenumber

A numeric value or a numeric field code.
3

Status
colourBlue
titlenumber

Status
subtletrue
titlenumber 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 []

Status
subtletrue
titlenull

A specific value for comparisons if a field or another value is not set or equals null.
null

Status
subtletrue
titlenull

Status
subtletrue
titletime period

A specific time period: from SECOND to YEAR (in capital letters) in milliseconds
MINUTE, DAY, WEEK, MONTH

Status
colourBlue
titlenumber

Status
subtletrue
titleweekday

The weekdays in capital letters (MONDAY-SUNDAY) - internally  represented by a number 
TUESDAY

Status
colourBlue
titlenumber

Status
subtletrue
titlemonth
 

The months in capital letters (JANUARY-DECEMBER) - internally represented by a number 
JUNE

Status
colourBlue
titlenumber



Excerpt Include
Operators
Operators
nopaneltrue

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
hiddentrue


Short descriptionCompose logical expressions using field codes and JWT expression parser functions.
Supported elements
Output

Status
subtletrue
titletext



Page properties
hiddentrue



Status
Tech review

Status
titletodo

Style guide

Status
titletodo

Status
titletodo
Status
colourYellow
titleReady for review
Status
colourGreen
titledone
Status
colourRed
titleflagged