Copy Field Values

The Copy Field Values post function copies the values from a configured field to another field on the same issue or to another field on linked issues. This post function can be used to keep fields up-to-date, eliminating the need for manual input of values.

Use this post function

  1. Go to Administration > Issues > Workflows.
  2. Select Edit on the workflow you want to add this post function to. 
  3. Select the transition you want to add this post function to.
  4. Under Options, select Post Functions.

  5. On the Transition page, select Add post function.
  6. Select Copy field values.
    Image selecting this post function
  7. Optional: Enter a note that describes the post function (this note is for your reference when viewing all post functions).
  8. Optional: Enter a condition. If no condition is specified, then this post function will always run.
  9. Enter the Issue relation. This is the relationship between the issue in transition (containing the Source Field), and the issue containing the Target Field. This is either:
    1. Within the same issue - The Source Field and Target Field are in the same issue.
    2. Linked issues - The Source Field and Target Field are in different issues linked with the selected link type. Select the Link Direction ( Link Type), the values will be copied from the issue in transition to the issues linked by the selected link type.
  10. Select the Source field. Values will be copied from this field to the Target field.

    If the source field has a null value, the target field value will be cleared out. If you want to prevent the post function execution in this case, use a Condition to ensure the source field has a value.

  11. Select the Target field. All values are copied from the Source field to this field.
    1. When copying values from a Short text or a Select field to a target Select field, you can optionally check Create options to create any missing values in the target field. The value will be created if a matching one does not exist in the target field. If none of the options in the source field exist in the target and Create options is unchecked, the target field will be cleared.

      If the target field already contains values, they are overwritten by any copied values.

  12. Select Add.
  13. If applicable, reorder your new post functions using the arrow icons on the right of the function.
  14. Select Publish and choose if you want to save a backup copy of the workflow.

Related content

On this page