The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

ScriptRunner code for: copy Epic custom field to every Epic child (story) for Jira Cloud

Mohajit Acharya
Contributor
September 8, 2020

What would be best approach to get an automatic update (copy) of custom fields from an epic to issues in the epic?

Once an epic has been created, any time someone creates a Task or Story and links it to an Epic, I would like to have two custom fields from that Epic copied into the newly created Task/Story. CF IDs are 10027 & 10060.

I am using Jira Software, Cloud instance. I have seen many ScriptRunner Post Function scripts available in the Community for the similar requirement but they are all meant for Jira Server. 

Any help or sample code would be appreciated.

1 answer

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

0 votes
Jira Guru
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Champions.
September 12, 2020
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events