Skip to end of banner
Go to start of banner

How to remove all watchers from all pages

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 4 Current »

If you find yourself feeling like Confluence is spamming your team mailbox or putting load on our mail exchange server unnecessary, 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 confluence.

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

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

    "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.

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

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

  • No labels