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

JWT DC parameter

JWT Cloud parameter

Left-hand side value

Field

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".

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

JWT DC field

 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)

Right-hand side value

Comparison value

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".

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. 

JWT DC field

 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)

Operator

Operator

JWT DC operator

 JWT Cloud operator

=

=

!=

!=

<

<

>

>

<=

<=

>=

>=

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.