Versions Compared

Key

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

Panel
bgColor#f5f5f5
titleColor#ffffff
borderWidth0
titleBGColor#000000
titleJSU for Jira Server/Data Center

This is the documentation of JSU for Jira Server/Data Center. If you are using JSU on Jira Cloud, see our JSU Cloud documentation.

Description

The 'Copy Value From Other Field' post-function copies the value of one field to another field. Since JSU 2.1.0 you can configure any number of source/destination field pairs. In addition to copying values from fields, this post-function can also copy from/to comments.

The copy operation will be performed either within the very same issue or to/from some related issue.

Configuration

You must specify the relation between the source and destination issues for the field to copy. Then you can add any number of field pairs to perform the copy operation.Image Removed

...

Precondition

Include Page
Precondition Usage
Precondition Usage

Issue Relation

Include Page
Related Issues
Related Issues

Please note that there are also restrictions concerning the post function's position.

Perform As User

Include Page
Perform As User
Perform As User

Copy Fields

Include Page
Copy Fields Configuration
Copy Fields Configuration

See the note about supported field types below.

Position of the Post Function 
Anchor
position
position

It is important to place the post function in the correct order of other post functions.

...

(info) The 'Create' transition is the very first transition, which does not yet has a source status (only destination status - usually Open, but could also be another).

If you are using the "Copy Value From Other Field" post function in the Create transition, in general, you must position it BEFORE the "Creates the issue originally." and before the "Re-index an issue to keep indexes in sync with the database." post function.

For certain field types (used as source or destination) "Copy Value From Other Field" has to be positioned AFTER "Creates the issue originally." but before "Re-index an issue to keep indexes in sync with the database."
Affected fields are:

  • Watchers

  • Labels

  • *** new comment ***

Image Removed

warning
Expand
titleClick here to see an example for the Create transition configuration


Image Added
title

Exception for "Copy Value From Other Field" used on create transition to populate value from linked issues

Warning

If you are using the "Copy Value From Other Field" post function in the Create transition and you would like to copy values from linked issue (Issue Linking: Issue in Transition = Source, Issue Linking: Issue in Transition = Destination, Parent / Sub-Task, Epic / Issue in Epic)

"Copy Value From Other Field" has to be placed after 'Creates the issue originally'. An issue has to be first created, then a relation between these linked tickets is established. Only then values will be properly copied from/to linked issue.

Any other Transition (not Create)

Put the "Copy Value From Other Field" post function anywhere before the "Update change history for an issue and store the issue in the database." post function.

Example

A workflow is configured so that the 'Resolve' transition has the 'Copy Value From Other Field' post-function. The function is configured to copy the value of the 'Assignee' field to the 'TextField' field. If a user resolves an issue on this workflow, the value of the 'Assignee' field will be copied to the 'TextField' field after the issue is resolved.

Supported Field Types

Include Page
Supported Field Types
Supported Field Types