Bulk add watchers to an entire blog

David_Henriksson April 13, 2023

Hi!

Is there a way to bulk add users to watch the entire blog? Either by script or manually. I cannot find any REST endpoint for that. I can find an AJAX action (addspacenotification.action) but seems not to be possible to input multiple users on that action (only logged in user by default).

watchThisBlog.PNG 

1 answer

1 accepted

1 vote
Answer accepted
Alex Koxaras _Relational_
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
April 13, 2023

Hi @David_Henriksson and welcome to the community

Use the following endpoint, but it is not for bulk adding watchers. You have to write a script which will call the below endpoint:

https://docs.atlassian.com/ConfluenceServer/rest/8.2.0/#api/user/watch

 In addition take a look at this https://docs.adaptavist.com/sr4c/latest/features/event-listeners/built-in-listeners/add-remove-watchers

David_Henriksson April 13, 2023

Ah thanks. https://{confluence-url}/rest/api/user/watch/space/{spaceKey}?contentType=blogpost was exactly what I was looking for.

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
SERVER
TAGS
AUG Leaders

Atlassian Community Events