Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.


UI Text Box
sizemedium
typeinfo

We highly recommended to test your expression before publishing the workflow.

5 steps to test your expression

UI Steps


UI Step

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


UI Step

Click on the Run button 


UI Step

Select an issue you want to test your expression with.


UI Step

Confirm your selection by clicking on Run


UI Step

Check the resulting output or analyze the errors.



UI Expand
titleSyntax 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.

Multimedia
nameparser-field-parser-error.mp4
width700



UI Expand
titleThe 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


Multimedia
nameparser-field-run-button.mp4
width700



UI Expand
titleError messages

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 "cf10041" is returning a value which is not valid parameter for the function substring().


UI Expand
titleOutput of different data types

Depending on the Parsing modes and the expression itself, different Data types are being returned as a result of the expression.

UI Expand
titleGeneral mode

Expressions written in the General mode will return texts.

Image RemovedImage Added


UI Expand
titleLogical mode

Expressions written in the Logical mode will return a boolean value of true or false.


UI Expand
titleJira expression mode

Expressions written in the Jira expression mode will return objects based on Data types (Jira expressions).



UI Expand
titleTesting a complex expression

When composing complex expressions, e.g. in Logical mode or the Jira expression mode, where you compare values we recommended to:

UI Steps


UI Step

Create individual expressions for the operands of the comparison.


UI Step

Test each expression separately within the selected Parsing modes.


UI Step

Merge the individual expressions and test the complete expression






Excerpt Include
DECADIS:Contact support
DECADIS:Contact support
nopaneltrue

...