|
On this page |
There are two ways to test expressions:
The main purpose is always the same: get a preview of the outcome of an expression in order to deploy your configuration with confidence and without having to troubleshoot afterward. |
When you want to test an expression directly in a JWT workflow function or calculated field configuration, you can instantly test and preview the results of in the JWT expression editor.
The Expression parser test page is located centrally in the Jira administration: Add-ons → Jira Workflow Toolbox → Expression parser test page.
You want to test a logical expression or calculate a date? You simply want to know which values are currently stored in different issues? On the expression parser test page you can test all kinds of expressions since all Parsing modes are available. Try adding a field code and play around with the different Parsing modes to preview the output! |
|
Before running your expression against a certain issue, it's recommended to check if the syntax is correct. The syntax check button indicates, if the current expression in the input field is syntactically correct or not . The background check runs at least one second after the last input, but you can also click the Syntax button for enforce a check immediately. |
|
Even if the syntax of the expression is correct, it may happen that the expression result is erroneous, e.g. when fields are empty. In the example below, the value of the custom number field with id 12202 is returning a value which is not a valid parameter for the function substring(). |
When using the JWT expression editor, the expressions can return different values and types. Besides the expression entered, the selected parsing mode is mainly responsible for the returned value (and its type): |