Script to add multiple user to watch multiple spaces?



I would like to add multiple users to watch multiple spaces in Confluence - preferrable through script or directly into the database. Is it possible and how?

3 answers

0 votes

Hi Trinh,

I wasn't able to find this functionality in Confluence. I believe it doesn't exist from default. You may want to try to use the CLI from Bobswift which may provide this functionality.

I hope this helps!



Unfortunately, Confluence doesn't provide the ability to set space watches for another person - see The CLI can't work around that limitation. It is different for page watches. Here is the documentation for the addWatch action found on Add watch to page or space for a user. Any user can be specified for page watches. Only the current user is valid for space watchers.

Thanks for clarifying this information and the feature request link @Bob Swift [Bob Swift Atlassian Add-ons]!

Confluence REST API docs are at Confluence REST Api docs are at You might find something there.

Hi Trinh,

You can use this User Macro I wrote to add space watches for multiple users (unfortunately, you have to do it one at a time, but it's not impossible):

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Mar 12, 2019 in Confluence

Confluence Admin Certification now $150 for Community Members

More and more people are building their careers with Atlassian, and we want you to be at the front of this wave! Important Dates Start the Certification Prep Course by 2 April 2019 Take your e...

878 views 2 13
Read article

Atlassian User Groups

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!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you