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.

0 votes
Stephen Deutsch Community Champion Sep 04, 2015

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 Nov 29, 2018 in New to Confluence

How to use Confluence Cloud for stakeholder management

Most of us don’t need much convincing that stakeholder management is important. It just makes sense that keeping everyone in-the-know on projects and assigning clearly defined roles is key to having ...

1,157 views 4 6
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