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 in workflow functions, automation rules and calculated fields.
Expressions range from simple text, e.g. Hello world!
, over mathematical calculation, e.g. 3 + 4
, to the extensive usage of expression parser functions, and beyond.
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 |
---|---|
Hello World! | Basic text Hello World! |
"Hello World!" | Basic text "Hello World!" Advanced text Hello World! |
"Summary: " + %{issue.summary} | Basic text "Summary: " + My first issue Advanced text Summary: My first issue |
3 + 4 | Basic text 3 + 4 Advanced text 34 Numeric 7 |
Basic elements
The table below lists all simple elements or operands that can generally be used in an expression.
- 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-->