Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

If you find yourself feeling like Confluence is spamming your team mailbox or putting the load on our mail exchange server unnecessaryunnecessarily, you might want to have a way to reset existing watchers for all pages. Once done that, whoever needs to get notifications can watch the pages once again.

Instructions

The below steps you allow you to be able to remove watchers of all pages in the confluenceConfluence.

  1. First, get the all page watchers using the below CLI command.:

    Code Block
    --action runFromPageList --space @all --common "--action getWatchList --id @pageId@ --columns 3,5 --file pageswatchers.csv --append" 
  2. Please change csv CSV file headers as shown below.:

    Code Block
    "id","userId"
    "348454915","automation"
    "348454922","automation"
    "348553256","automation"
    "348454917","automation"
    "320114779","automation"
    "313295895","admin"
    "327685","admin"
  3. Next, run the below action to remove all the page watchers.

    Code Block
    --action runFromCsv --file pageswatchers.csv --common "--action removeWatch" --continue

Warning

Additionally, if you are looking want to remove all the space watchers, then it is not possible impossible to lack of API. There’s an open issue on the Atlassian side: https://jira.atlassian.com/browse/CONFSERVER-52739.

...