hi Community,
I'm looking for assistance of writing a script (via Scriptrunner) to add Component Watchers to the Watchers field in a post function of Create step. For example, Component A has Watcher1 and Watcher2, when Component A is selected in an issue, Watcher1 and Watcher2 (of Component A) should be added to (the issue) Watchers field automatically. I've looked at this Testing Workflow Functions , which added the component's lead to the Watchers field, but not the Component Watchers. Any help will be appreciated!
JIRA Data Center Version: 8.5.6
Scriptrunner version: 6.5.0-p5
Henry
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.