Auto-setting watchers based on assignees

Tessa Radwan December 23, 2014

I've been asked to set up my JIRA OnDemand instance so that whenever a user (A) is assigned to a ticket, their manager (B) is set as watcher on that ticket.

We are already set up so that user A becomes a watcher in that situation, but I can't see how to do this for user B. Any ideas welcomed.

1 answer

0 votes
Robert Massaioli _Atlassian_
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
December 23, 2014

Hmm, JIRA cloud has no concept of "user b is user a's manager" so this is currently not supported by default I think. However, JIRA cloud is extensible with Atlassian connect. You could write an atlassian connect plugin to listen to issue update webhooks and then place the manager as a watcher using Rest via /rest/api/2/issue/{issueIdOrKey}/watchers. Are you a software developer or do you work with one? Then this may be an option.

Robert Massaioli _Atlassian_
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
December 23, 2014

P.s. if you are not then maybe raise a jira.atlassian.com issue for this functionality.

Suggest an answer

Log in or Sign up to answer