Page History
tbd. Thorsten Letschert
UI Text Box | ||||||
---|---|---|---|---|---|---|
| ||||||
An expression is an operation that evaluates its value, it is a combination of one or more constants, variables, functions, and operators that return another value. | ||||||
Code Block | ||||||
| ||||||
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 | |||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
| |||||||||||||||||
|
| |||||||||||||||||
|
| |||||||||||||||||
|
|
|
|
|
Excerpt Include | ||||||
---|---|---|---|---|---|---|
|
Page properties | ||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||||||||||||||||||||||||||||||||||||||
|
An expression basically contains of one or more of these elements:
- 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-->