Is it possible to automatically set a watcher based on ticket assignee? I would like to automatically add the assignee's manager to every ticket to which they are assigned.
To determine the manager of a user, we normally recommend the following strategy:
Obviously a custom add-on is always a solution. This would include a manager admin UI and a post-function to add manager as watcher.
If you find out how to do this I'd be interested in knowing your solution. Particularly how do you determine the manager for the current assignee.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You will need a scripted post-function to do that. My issue here is how do you determine the assignee's manager? If that won't be a problem, try different scripted post-functions for automatically setting Watchers based on a condition. There's a lot of them in the marketplace (Try the JIRA ScriptRunner).
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.