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

0 votes
Tarun Sapra
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
November 29, 2017
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 Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
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