Copy Field Values
The Copy Field Values post function copies the values from a configured field to another on the same issue. Copy Field Values can be used to keep fields up-to-date, eliminating the need for manual input of values.
- Select the Copy Field Values [ScriptRunner] post function.
- Enter a description of the post function in Note.
Enter the Condition for which, if true, the post function fires.
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.
- Select the Target field. All values are copied from the Source field to this field.
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 he target field already contains values, they are overwritten by any copied values.
- Click Update.