The Logical validator of JWT DC is not yet available in JWT Cloud but can be implemented easily using a Jira expression validator. Since JWT DC field codes are not available in conditions or validators in JWT Cloud, they have to be replaced by their Jira expression equivalent. |
|
Jira expression Field codes differ from the JWT ones, a list of corresponding field codes can be found in Field codes. They are offered in the field code injector of the parser expression editor of the Jira expression validator. For further details of Jira expression field codes please refer to Atlassian's documentation.
JWT DC | Jira expression | Notes | |
---|---|---|---|
= | == | ||
!= | != | ||
< | < | ||
<= | <= | ||
> | > | ||
>= | >= | ||
~ | .includes() | Example:
| |
!~ | !...includes() | Example:
| |
IN | .every....includes() | Example:
| |
NOT IN | ! every....includes() | Example:
| |
ANY IN | .some()....includes() | Example:
| |
NONE IN | !....some()....includes() | Example:
|
Jira expression functions are based on the respective data type and are related to JavaScript notion. Details of the available functions can be found in Atlassian's documentation.
Due to the different architecture, it may happen that the condition gets too complex. This is the case when many fields are checked. The condition cannot be saved, and a corresponding error message will be displayed. If that's the case, the condition has to be split up into two or more. |
This parameter is not available in JWT Cloud. |
In JWT Cloud, only a fixed text without field codes or translations is supported. |
JWT DC use case | JWT DC parser expression | Jira expression | |||
---|---|---|---|---|---|
Make "Time spent" field required |
|
| |||
Block an Epic's transition until all the issues under that Epic are resolved |
|
| |||
Block a transition until all sub-tasks have certain fields populated |
|
|