I am in the process of trying to come up with a way to create a listener that looks for a change in a specific project role and then goes into the custom field and updates the value to the value in the project role.
Example is project role is called Project Manager. Someone edits the role and changes it from user a to user b, This triggers a script to take the users account id value for this project role and update a separate custom field called PM with that value for all tickets in that project.
All tickets in a project will now have the PM custom field filled in with the value of user b instead of user a now.
Is this something that can be done with the Jira Cloud API? Any input would be wonderful.