I am trying to write a post function using script runner to add watchers to the issue when created depending on components.
I was able to get the watchers to be added but i am not able to get a condition check with component working. How do i get a list of components for the issue and then define a user list to be added as watchers.
Apologies, my scripting capabilities are somewhat limited. I took a look at the link but I'm not sure it suits the use case. Upon issue creation (post function) I need a watcher to be automatically added based on a component selected. I couldn't find that information in the link.
Connect with like-minded Atlassian users at free events near you!Find a group
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG