Migrate 'Update or copy field values'

The Update or copy field values post function of JWT DC is also available for JWT Cloud (please note the different name 'Update fields'), with minor differences in terms of parameters and options. 

The table below shows the detailed mapping between JWT DC and JWT Cloud.

Migration steps

  1. Add the Update fields post function.

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

Migration details

Target issue

 JWT DC parameter options

 JWT Cloud parameter options

Current issue

Current issue

Parent issue

Parent issue

Sub-tasks

Select option Parser expression

  • General  parsing mode

  • Enter %{issue.subtasks} as parser expression

Not available in JWT Cloud but you can use a parser expression as described.


Sibling sub-tasks

Not available in JWT Cloud.


Linked issues

Select option Parser expression

  • General  parsing mode

  • Enter %{issue.links} as parser expression

Not available in JWT Cloud but you can use a parser expression as described.


Linked epic

Select option Parser expression

  • General  parsing mode

  • Enter %{parent.key} as parser expression

Not available in JWT Cloud but you can use a parser expression as described.


Issues under epic

Select option Parser expression

  • General  parsing mode

  • Enter %{issuesUnderEpic()} as parser expression

Not available in JWT Cloud but you can use a parser expression as described.


Sibling issues under epic

Select option Parser expression

  • General  parsing mode

  • Enter %{siblingIssuesUnderEpic()} as parser expression

Not available in JWT Cloud but you can use a parser expression as described.


Set target issues manually (parser expression)

Parser expression

In JWT Cloud, the parser expression has to return an issue key or an issue ID (or a list of them).


Fields

Please note that not all fields which can be set in JWT DC are available in JWT Cloud.

The list below shows which JWT DC fields are available on JWT Cloud as well.

JWT DC field

JWT Cloud field

Notes

Summary

Summary


Description

Description


Affected versions

Affects version/s

This field requires a list of IDs of the values to be set.

Assignee

Assignee

An Atlassian account ID is expected.

Attachments (only new attachments will be added)

n.a.

If the configuration field value is "Set field value manually (parser expression)", migrate this by selecting "Attachments selected via parser expression" in the Attachments configuration section.

Checkboxes (Custom field)

Checkboxes

This field requires the ID of the value to be set.

Components

Component/s

This field requires a list of IDs of the values to be set.

Date picker (Custom field)

Date Picker


Date Time picker (Custom field)

Date Time Picker


Due date

Due date


Environment

Environment


Epic link (Custom field)

Epic link


Epic name (Custom field)

Epic name


Fix versions

Fix version/s

This field requires a list of IDs of the values to be set.

Group picker (Multiple groups) (Custom field)

Group Picker (multiple groups)

This field requires a list of IDs of the values to be set.

Group picker Single group) (Custom field)

Group Picker (single group)

This field requires the ID of the value to be set.

Labels (Custom field)

Labels (Custom field)


New labels

Labels


Number field (Custom field)

Number Field


Original estimate (minutes)

Original estimate (minutes)


Project picker (Custom field)

Project Picker (single project)

This field requires the ID of the value to be set.

Radio buttons (Custom field)

Radio Buttons

This field requires a list of IDs of the values to be set.

Remaining estimate (minutes)

Remaining estimate (minutes)


Reporter

Reporter

An Atlassian account ID is expected.

Resolution

Resolution


Security level

Security level

This field requires the ID of the value to be set.

Select list (cascading) (Custom field)

Select list (cascading)

This field requires the IDs of the values to be set, e.g. 

Select list (multiple choices) (Custom field)

Select List (multiple choices)

This field requires a list of IDs of the values to be set.

Select list (single choice) (Custom field)

Select List (single choice)

This field requires the ID of the value to be set.

Sprint (Custom field)

Sprint

This field requires the ID of the value to be set.

Story points (Custom field)

Story point estimate


Text field (multi-line) (Custom field)

Text field (multi-line)


Text field (single line) (Custom field)

Text field (single line)


URL field (Custom field)

URL Field


User picker (multiple users) (Custom field)

User Picker (multiple users)

A list of Atlassian account IDs is expected.

User picker (single user) (Custom field)

User Picker (single user)

An Atlassian account ID is expected.

Version picker (multiple versions) (Custom field)

Version Picker (multiple versions)

This field requires a list of IDs of the values to be set.

Version picker (single version) (Custom field)

Version Picker (single version)

This field requires the ID of the value to be set.

Write protection

  • Write protection is not available.

Additional Options

This parameter is not available in JWT Cloud.

Conditional execution

The list of available field codes differs between JWT DC and JWT Cloud.

Run as

Since only fields containing a user can be selected, the field code from JWT DC may not map to the corresponding field in JWT Cloud.

JWT DC parameter options

JWT Cloud parameter options

A drop down menu where you can select a field (all available Fields are listed)

The default is Current user

The options are equivalent to the ones in JWT DC but split in two separate entries:

  • Selected user, where you can pick a specific user

  • User in field, where all User fields (e.g. Assignee or Project lead as well as all custom fields of the type User picker (single user) are listed

The default is the same as in JWT DC: Current user