The JWT Cloud expression parser differs from the JWT DC expression parser, so the migration of parser expressions is often a complex task.
Besides field codes and parser functions additional mappings of parsing modes, time macros, etc., apply. This page provides an overview of what is mapped and how.
The parser in JWT DC offers different modes, which can be mapped to the modes provided by the JWT Cloud expression parser.
JWT DC | Mapping | JWT Cloud | Notes | ||||||
---|---|---|---|---|---|---|---|---|---|
Replace the field codes by the ones provided in JWT Cloud, for details see Migrate field codes. | |||||||||
General mode | The whole parser expression (which has been migrated as described in Migrate field codes and Migrate JWT expression parser functions) has to be enclosed by %{ } If you use the "+" operator with a numeric value as the first operator in the expression, it has to be converted to a text using toString() or if using a numerivc field code, change it to a text filed code. Examples
| ||||||||
For differences between JWT DC and JWT Cloud logical mode, see Migrate logical expressions | |||||||||
General mode | The whole parser expression (which has been migrated as described in Migrate field codes and Migrate JWT expression parser functions) has to be enclosed by %{ } | ||||||||
General mode | The whole parser expression (which has been migrated as described in Migrate field codes and Migrate JWT expression parser functions) has to be enclosed by %{ } | ||||||||
General mode | The whole parser expression (which has been migrated as described in Migrate field codes and Migrate JWT expression parser functions) has to be enclosed by %{ } | ||||||||
General mode | The field codes which are used in the JQL query have to be migrated according to Migrate field codes. The whole expression has to be placed inside %{issuesFromJQL()}, re-writing the JWT DC expression as an addition of strings, such that the field codes will be evaluated before executing the JQL. Example
| ||||||||
General mode | Replace {{{ and }}} by %{ and } (and migrate the fields and functions as described in Migrate field codes and Migrate JWT expression parser functions) |
Most of the field codes known in JWT DC are also available in JWT Cloud - see Migrate field codes.
Many of the parser functions known in JWT DC are also available in JWT Cloud - see Migrate JWT expression parser functions.
If you still have questions, feel free to refer to our support team.