Page History
UI Text Box | ||||
---|---|---|---|---|
| ||||
Expressions are a fundamental concept within Jira Workflow Toolbox: every input into the JWT expression editor is considered an expression and will be interpreted by the JWT expression parser against the selected parsing mode. They are used for almost every input that you can make in workflow functions, automation rules and calculated fields. Expressions range from simple text, e.g. Basic text mode being the simplest one among the parsing modes allows to write free text and insert field codes. The other parsing modes support the usage of operators and expression parser functions. |
Example expressions
Parser expression | Output | ||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
| ||||||||||||||||||||||
|
| ||||||||||||||||||||||
|
| ||||||||||||||||||||||
|
|
Basic elements
The table below lists all simple elements or operands that can generally be used in an expression.
title | All elements that can be used in a logical expression |
---|
Status subtle true title boolean
true
or false
true, TRUE, false, FALSE
"This is a text"
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}]
3
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
UI Text Box | ||||||
---|---|---|---|---|---|---|
| ||||||
The |
- Field codes
- Operators
- Functions
Field codes are the heart.... and return different data types
.
.
.
Ultimately, what can be used in an expression depends on the parsing mode-→
Test-->
Excerpt Include | ||||||
---|---|---|---|---|---|---|
|
Page properties | ||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||||||||||||||||||||||||||||||||
|