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
Similar questions have been discussed many times on this forum
Here's some sample code - https://community.atlassian.com/t5/Answers-Developer-Questions/Scripted-field-get-custom-field-aggrgate-from-linked-issues/qaq-p/491445
https://community.atlassian.com/t5/Jira-questions/Validator-script-to-check-status-of-all-linked-issues-before/qaq-p/427966
https://community.atlassian.com/t5/Answers-Developer-Questions/Checking-Linked-Issues-on-duplicates/qaq-p/492564
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.
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
Thanks, but maybe you or somebody have working script for this?
It looks like you're new here. Sign in or register to get started.