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 for JSU for Jira Server/Data Center. If you are using JSU on Jira Cloud, see our JSU Cloud documentation.

On this page:

Table of Contents
minLevel2
maxLevel3

Description

The ‘Copy Value From Other Field’ post function copies the value of one field to another field. You can configure any number of source/destination field pairs. In addition to copying values from fields,  You can also use this post function can to copy from/to comments. The copy operation will can be performed within the same issue or to/from some a 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

...

If you are using preconditions with a JSU post function, you can use the following options to define how the precondition is evaluated:

  • Ignore precondition (default): Every precondition is ignored which means that the post function will always be performed

  • True: Precondition must be true to execute a post function

  • False: Precondition must be false to execute a post function

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

...

Position of the post function 
Anchor
position
position

It Jira transitions include essential post functions that are executed in a specific order. When adding JSU post functions to a transition, it is important to place position the post function in the correct order of other with respect to the essential post functions.

...

‘Create’ transition

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

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

Note

Specific field types

...


If the

...

‘Copy Value From Other

...

Field’ post function applies to any of the following fields, position it after ‘Creates the issue originally’ and before ‘Re-index an issue to keep indexes in sync with the

...

database’.

  • Watchers

  • Labels

  • *** new comment ***

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


Summary view of the post function configuration for the Create Issue transition.Image Modified

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

Note

If you are using use the Copy ‘Copy Value From Other Field Field’ post function in the Create ‘Create’ transition and you would like to copy values from a 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" post function must be placed after 'Creates the issue originally'. An issue has to be first created, then a relation between these linked tickets issues is established. Only then values will be properly copied from/to linked issue.

Any other transition (not

...

‘Create’)

Place the Copy ‘Copy Value From Other Field 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 the Resolve ‘Resolve’ transition has the 'Copy ‘Copy Value From Other Field' post function. The post function is configured to copy the value of the Assignee ‘Assignee’ field to the TextField '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.

...