You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 9 Next »

On this page

There are two ways to test your expressions, the Expression parser test page and the built-in expression preview in the expression editor provided in each workflow function.

The goal is always the same - preview the outcome of an expression. The results can vary from calculated dates to boolean values such as true, to check whether a validator or condition will pass.

The Expression parser test page does not support all field codes  Field codes for transitional fields e.g. Transition comment, are not supported.

The expression editor

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 expression editor

The expression parser test page

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.

Test adding a field code and play with the different Parsing modes to preview the output!


The Expression parser test page does not support all field codes  Field codes for transitional fields e.g. Transition comment, are not supported.


5 steps to test your expression

Type in your expression or select one of the built-in examples.

Click on the Run button 

Select an issue you want to test your expression with.

Confirm your selection by clicking on Run

Check the resulting output or analyze the errors.

Syntax check

Before running your expression against a certain issue, it's recommended to check if the syntax is correct.

The syntax check button shows 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 push the Syntax button for instant results.

Jona Ittermann Kannst du bitte hier ein neues Video machen für? Das andere war für Cloud.

The run button

By clicking on the Run button, a test expression panel is displayed under your expression. To test your expression, do the following:

  1. Select an issue that you want to test your expression with (as the current issue).
  2. Click on Run

Jona Ittermann Kannst du bitte hier ein neues Video machen für? Das andere war für Cloud.

Error messages

E

Jona Ittermann Kannst du bitte auch noch die anderen Sektionen befüllen? Error messages/output etc?. Vielen lieben Dank!



If you still have questions, feel free to refer to our support team.