Is it possible to add watchers in Bulk with one API call in Jira 7.13.5 or above?

Abhi Shah November 4, 2019

We use automation to open some types of JIRA tickets, and this is getting very slow as the list of watchers we need to add grows. The ability to add an arbitrary list of watchers with one API call would eliminate this problem.

Is it possible in Jira version 7.13.5 or above?

1 answer

1 vote
Petter Gonçalves
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
November 5, 2019

Hello @Abhi Shah

Thank you for reaching out.

Unfortunately, there's a bug in the syntax of JIRA REST API that blocks the ability to add multiple watchers with a single REST API call:

REST API add watcher (POST) request is not a valid JSON syntax 

Feel free to vote and watch the bug to receive notifications about the fixing progress of the bug.

For now, you can try the following options:

1 - Create a script with a single rest API call for each user that should be added to the issues, using the REST API call below:

POST /rest/api/2/issue/{issueIdOrKey}/watchers

2 - Use the Watcher custom field free app to bulk add watchers to your issues using the JIRA bulk operation functionality.

Let me know if you still have any questions.

Suggest an answer

Log in or Sign up to answer