I have 2 projects which have linked between them (related to link) Project A and Project B.
I would like to create the following scenario:
Once the status field is updated in project A, a custom field will be updated automatically in project B.
I don't want to use the Global Automation, I would like to use script runner listener.
Can you please advise how can i do that? what should i select and what code do i need to add?
I think this is close to what you need : https://library.adaptavist.com/entity/calculate-custom-field-on-issue-update
You'll need to modify it to read the links and work out what issue to update instead of the current one, but there's some code for working with links in https://library.adaptavist.com/entity/add-or-update-the-issue-link-for-an-issue-in-jira that might help you with that.
Thank you!
I can see that the second link you have added describes how to create a linked issue, but I need to update a field in an existing linked issue.
FYI I don't have any experience with script listener and I need a full guide of how and what to write in:
1. If the following condition evaluates to true
2. Code to run
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.