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.

...

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

Create Transition

(info) The 'The Create ' transition is the very first transition, which does not yet has have 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) ", the Copy Value From Other Field " has to must be positioned AFTER "Creates the issue originally." but before "Re-index an issue to keep indexes in sync with the database."
Affected fields are:

...

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


Image RemovedImage Added

Exception for

...

Copy Value From Other Field

...

used on

...

the Create transition to populate value from linked issues

Warningnote

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" has to 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)

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

...

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.

...