Migrate 'Compare two values condition'

The Compare two values condition of JWT DC is also available for JWT Cloud.

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.

Migration steps

  1. Add the Compare two values condition.

  2. Reconfigure the condition with the help of the following list, providing the necessary basics.

Migration details

Unknown Attachment JWT DC parameter

Unknown Attachment JWT Cloud parameter

Notes

Left-hand side value

Field

Fields

The following list presents the fields supported by the Compare two values condition in JWT Cloud. Fields not appearing in this list, cannot be mapped to JWT Cloud. All fields are available for the contexts "issue" and "parent".

xApps_Servy_Flat_noX_18px.png JWT DC field

xApps_Cloudy_Flat_noX_18px.png JWT Cloud field

Affects version/s

Affects version/s

Assignee

Assignee

Assignee's full name Assignee's full name
Attachments

Attachments

Component/s

Component/s

Creator

Creator

Creator's full name Creator's full name
Current date and time Current date and time
Current user Current user
Current user's full name Current user's full name

Date and time of creation

Date and time of creation

Date and time of last update

Date and time of last update

Date and time of resolution

Date and time of resolution

Description

Description

Due date

Due date

Environment

Environment

Fix version/s

Fix version/s

Issue key

Issue key

Keys of linked issues

Issue links

Issue status

Issue status

Issue status category Issue status category

Issue type

Issue type

Labels

Labels

Last comment Last comment
Last commenter Last commenter
Number of affects version/s Number of affects version/s
Number of attachments Number of attachments
Number of fix version/s Number of fix version/s
Number of labels Number of labels
Number of linked issues Number of linked issues
Number of sub-tasks Number of sub-tasks
Number of votes received Number of votes received

Original estimate (minutes)

Original estimate (minutes)

Priority

Priority

Project key

Project key

Project name Project name

Remaining estimate (minutes)

Remaining estimate (minutes)

Reporter

Reporter

Reporter's full name Reporter's full name

Resolution

Resolution

Date and time of resolution Resolution date

Security level

Security level

Keys of sub-tasks

Subtasks

Summary

Summary

Total time spent (minutes)

Total time spent (minutes)

Watchers Watchers

All custom field types 

All custom field types
provided by JWT DC 
except Text Field (read-only)




While this value is set by a parser expression in JWT DC, it is selected from a drop-down list in JWT Cloud.


Right-hand side value

Comparison value

Fields

The following list presents the fields supported by the Compare two values condition in JWT Cloud. Fields not appearing in this list, cannot be mapped to JWT Cloud. All fields are available for the contexts "issue" and "parent".

xApps_Servy_Flat_noX_18px.png JWT DC field

xApps_Cloudy_Flat_noX_18px.png JWT Cloud field

Affects version/s

Affects version/s

Assignee

Assignee

Assignee's full name Assignee's full name
Attachments

Attachments

Component/s

Component/s

Creator

Creator

Creator's full name Creator's full name
Current date and time Current date and time
Current user Current user
Current user's full name Current user's full name

Date and time of creation

Date and time of creation

Date and time of last update

Date and time of last update

Date and time of resolution

Date and time of resolution

Description

Description

Due date

Due date

Environment

Environment

Fix version/s

Fix version/s

Issue key

Issue key

Keys of linked issues

Issue links

Issue status

Issue status

Issue status category Issue status category

Issue type

Issue type

Labels

Labels

Last comment Last comment
Last commenter Last commenter
Number of affects version/s Number of affects version/s
Number of attachments Number of attachments
Number of fix version/s Number of fix version/s
Number of labels Number of labels
Number of linked issues Number of linked issues
Number of sub-tasks Number of sub-tasks
Number of votes received Number of votes received

Original estimate (minutes)

Original estimate (minutes)

Priority

Priority

Project key

Project key

Project name Project name

Remaining estimate (minutes)

Remaining estimate (minutes)

Reporter

Reporter

Reporter's full name Reporter's full name

Resolution

Resolution

Date and time of resolution Resolution date

Security level

Security level

Keys of sub-tasks

Subtasks

Summary

Summary

Total time spent (minutes)

Total time spent (minutes)

Watchers Watchers

All custom field types 

All custom field types
provided by JWT DC 
except Text Field (read-only)




Either a field can be selected or a value can be set manually. In JWT Cloud one of these options has to be selected first and then a field or a value by using the parser expression editor has to be provided. 


Operator

Operator

Unknown Attachment JWT DC operator

 Unknown AttachmentJWT Cloud operator

=

=

!=

!=

<

<

>

>

<=

<=

>=

>=



Depending on the field which is selected as left-hand value, not all operators are valid for this field. Only the valid ones are offered.

JWT Cloud offers the two additional operators ~ (contains) and !~ (does not contain) which may be used instead of the ones selected in the JWT DC configuration.


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.