Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.


The post function Copy or add custom field value to issue description is deprecated in JWT DC but can be easily replaced by the post function Update fields of JWT Cloud.
UI Text Box
sizemedium
typeinfo

The Copy a parsed text to a field post function of JWT DC is not available in JWT Cloud, but can be implemented easily using the Update fields post function. 

The table below shows the detailed mapping between these post functions and hosting options.


Migration steps

UI Steps


UI Step

Add the Update fields post function.


UI Step

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



Migration details

JWT DC parameter

JWT

Image Added JWT DC parameter options

Image Modified

JWT

 JWT Cloud parameter options

Image Removed

Notes



Target issue: Current issue


UI Text Box
typeinfo

Only available in JWT Cloud. Please use the default value Current issue.

Source


Target field
Since this parameter is not available in JWT Cloud, please proceed as follows:
  • Select the corresponding field
Description
  • out of the list provided by the parameter Fields
  • Choose the option Set field value manually (parser expression)
ModeReplace issue descriptionInsert the value which will replace the current description of the issue by select the field to copy from via the field injector of the parser expression editor.

Example:

Code Block
%{issue.cf10005}
Add at the beginning of issue descriptionChoose the field to copy from via the field injector of the parser expression editor and add %{issue.description} (preceded by an empty space)

Example:

Code Block
%{issue.dueDate} %{issue.description}
Add at the end of issue descriptionEnter %{issue.description} plus an empty space in the parser expression editor and choose the field to copy from via the field injector of the parser expression editor.


UI Text Box
typeinfo

Include Page
DECADIS:Migration_availableFieldCodes
DECADIS:Migration_availableFieldCodes


Expression
  • Choose the parsing mode General in the parser expression editor opened for the parameter Target field and
  • Parser expression according to Migrate JWT parser expressions



Additional options

Example

Code Block
%{issue.description} %{issue.dueDate}
Run as



UI Text Box
type
info
warning
Only

Not available in JWT Cloud.

 Please use the default value User in field with the option Current user.

In case the post function shall run with a different user you can select any other option offered here.


Conditional execution



Run as

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

Conditional execution


UI Text Box
typeinfo

Only available in JWT Cloud. Please leave the parameter empty.

In case you like to add acondition under which circumstances this post function is executed, you can enter it here using the Logical mode or the Jira expression mode of the JWT Cloud expression parser

Since only those fields can be selected which hold a user, it may happen that the value from JWT DC cannot be mapped to the respective field in JWT Cloud.




Excerpt Include
DECADIS:Contact support
DECADIS:Contact support
nopaneltrue