The Condition based on regular expression of JWT DC is not yet available in JWT Cloud but can be implemented easily using a Jira expression condition.
Since JWT field codes are not available in conditions or validators in JWT Cloud, they have to be replaced by their Jira expression equivalent.
Migration steps
Migrate the parameters of the Condition based on regular expression to a Jira expression
The resulting Jira expression has the form
VALUE.match(Regular_expression) != null
VALUE
and Regular_expression
are the transformed parameters of Condition based on regular expression which are migrated as follows:
Migration details
JWT DC | JWT DC option | JWT Cloud | Notes | ||||||
---|---|---|---|---|---|---|---|---|---|
Value | Value from field | Select the corrresponding field from the Field injector. | Not all fields known in the JWT DC parser are available as Jira expression field code. | ||||||
Set value manually (parser expression) | Translate the JWT DC parser expression to a Jira expression. | ||||||||
Regular expression | Enter the regular expression of the JWT DC parameter. | ||||||||
Additional options | Case insensitive | Prefix the regular expression by Example:
| |||||||
Multiline | Prefix the regular expression by | ||||||||
Dot all | Replace the ". " by "(.|\n) " in the regular expression. | ||||||||
Literal | Escape each of the special characters of the regular expression, e.g. \.\*\[JWT\] | ||||||||
Negate condition | Replace the != operator by == |
If you still have questions, feel free to refer to our support team.