I have a custom field that lists different teams that would be affected by a new ticket. I'd like to set up the notifications so that when a specific team is chosen from the list, a certain set of watchers are automatically added to the ticket. Is this possible?
Hi Emily,
You can use the script runner plugin and WatcherManager to add watchers to the issue based on a custom field value
https://marketplace.atlassian.com/plugins/com.onresolve.jira.groovy.groovyrunner
http://docs.atlassian.com/jira/latest/com/atlassian/jira/issue/watchers/WatcherManager.html
Oops sorry didn't notice the OnDemand
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I'm not sure if you can use the Script Runner in OnDemand, but you should be able to add any user/group picker to the notification scheme - this way any user in the custom field will be notified for the events you configure.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thank you both!
Matheus, I think that I follow you but let me know if I've misunderstood. If I do it that way with having a custom group picker field and then defining my watchers as specific groups, I believe that I lose the ability to limit what appears on the list. Won't the custom field dropdown display all of the existing groups?
I like to make this field available when creating all new tickets in a project so I'd prefer to keep it fairly restricted with what appears in the dropdown.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Won't the custom field dropdown display all of the existing groups?
I'm afraid that all groups will indeed be displayed in the Group Picker.
I've also tested using a post-function to copy the value of a custom field to Watchers, but with no luck. :/
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.