Forums

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

Copy field value from linked issue to parrent

Pumper1 November 29, 2017

Hi,

I wont to copy custom field value from linked issue to parrent during transaction. Also i have script runner plugin. Maybe somebody have scripts which can do this?

Please help me :)

1 answer

Pumper1 November 29, 2017

Thanks for your answer but i wont script which will copy field values, not scripted fields.

For example i have 2 projects and two linked issue. When i change a status in first i have screen with fields to fill, and i wont to copy values from this screen fields to linked issue.

Tarun Sapra
Community Champion
November 29, 2017

It seems you want to copy fields filled in transition screen of one issue into the linked issue. You can write a script in post-funciton to access linked issue and update their fields

Here's some samples for updating custom feilds https://community.atlassian.com/t5/Marketplace-Apps-questions/Basic-method-to-update-a-custom-field-with-Scriptrunner/qaq-p/362875

For updating , system fields you can see the API here

https://developer.atlassian.com/static/javadoc/jira/latest/reference/com/atlassian/jira/issue/MutableIssue.html

Pumper1 November 29, 2017

Thanks, but maybe you or somebody have working script for this?

Suggest an answer

Log in or Sign up to answer
TAGS
atlassian, mindful member, mindful member badge, atlassian community, community kudos, community giveaway, atlassian swag, community values, empathy and kindness, badge challenge, atlassian learning, community engagement, swag giveaway

Earn a Badge, Win a Prize 🎁

Earning the Mindful Member badge proves you know how to lead with kindness, plus it enters you into a giveaway for exclusive Atlassian swag. Take the quiz, grab the badge, and comment on our announcement article to spread the good vibes!

Start here
AUG Leaders

Atlassian Community Events