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

Compare with Current View Page History

« Previous Version 23 Next »

The JWT Cloud expression parser differs from the JWT DC expression parser, so the migration of parser expression is often a complex task. You have to care not only for finding the corresponding field codes and parser functions but also for mapping parser modes, time macros etc. This page gives an overview of what is mapped how.

Parsing modes

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

Basic text mode

(tick)

General mode

Replace the field codes by the ones provided in JWT Cloud, for details see Migrate field codes.

Advanced text mode

(tick)General modeThe whole parser expression  (which has been migrated like described in Migrate field codes and Migrate JWT Parser functions) has to be enclosed by %{ }

Logical mode

(tick)

Logical mode

For differences between JWT DC and JWT Cloud logical mode, see Migrate logical parser expressions

Numeric mode

(tick)General modeThe whole parser expression (which has been migrated like described in Migrate field codes and Migrate JWT Parser functions) has to be enclosed by %{ }

Text list mode

(tick)General modeThe whole parser expression  (which has been migrated like described in Migrate field codes and Migrate JWT Parser functions) has to be enclosed by %{ }

Issue list mode

(tick)General modeThe whole parser expression  (which has been migrated like described in Migrate field codes and Migrate JWT Parser functions) has to be enclosed by %{ }

JQL mode

(tick)General mode

The field codes which are used in the JQL query have to be migrated according to Migrate field codes. You have to concatenate them to the remaining JQL. Double quotes have to be replaced by single quotes. This expression must be surrounded by %{issuesFromJQL(" and ")}.

Example

JWT DCJWT Cloud


issuetype = "%{issue.issueType}" AND project = "%{00019}"
%{issuesFromJQL("issuetype = '" + %{issue.issueType} + "' AND project = '" + %{issue.project.name} + "'")}


Mixed mode

(tick)General modeReplace {{{ and }}} by %{ and } (and migrate the fields and functions as described here and on the subsequent pages)
Field codes

Most of the field codes known in JWT DC are also available in JWT Cloud. For a list with detailed mapping information, see Migrate field codes.

Parser functions

Many of the parser functions known in JWT DC are also available in JWT Cloud. For a list with detailed mapping information, see Migrate JWT Parser functions


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