Automation | How to copy cascade field value from one issue to another issue

Platform Notice: Cloud and Data Center - This article applies equally to both cloud and data center platforms.

Support for Server* products ended on February 15th 2024. If you are running a Server product, you can visit the Atlassian Server end of support announcement to review your migration options.

*Except Fisheye and Crucible

Summary

This article provides steps to copy cascade field values from one issue to another issue. When we clone an issue through automation, the cascade field will not be listed under the fields selection list and we need to use JSON value to copy the value.

Solution

To copy the cascade field value from one issue to another issue we need to use the following JSON value. Here customfield_10104 represents the cascaded custom field by its id.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 { "update": { "customfield_10104": [ { "set": { "value": "{{triggerIssue.fields.customfield_10104.value}}", "child": { "value": "{{triggerIssue.fields.customfield_10104.child.value}}" } } } ] } }

Reference screenshot in the rule.

Image for Automation's "Additional Field" content

Updated on May 31, 2024

Still need help?

The Atlassian Community is here for you.