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 copy from/to comments. The copy operation will be performed within the 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.

...

Precondition

Include Page
Precondition UsagePrecondition UsagePreconditions Settings
Preconditions Settings

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.

Create

...

transition

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

...

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


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

Note

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), the Copy Value From Other Field" must 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)

Place 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 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