You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
Reviewing my Atlassian Confluence profile within our enterprise install, I see a lot of detritus out there. Years worth of watched pages, watched spaces, Save for Later, and Drafts. Looking for a solution to any of it, I found code from 2014 on this page from a deleted user: https://community.atlassian.com/t5/Confluence-questions/Bulk-Unwatch-pages/qaq-p/248164
That idea was the nudge I needed to help me create additional derivative snippets, and package it all together in one post, in hopes of helping others.
All snippets were successfully ran on Atlassian Confluence 7.4 Enterprise
Your browser's Developer Tools console
What each code does:
The code uses the class of the hyperlink to click matching links for the user, and then a reload of the page, which displays the next page of items. Note that the number of pages is now reduced by one.
It is not a one-click solution, but it is much faster than clicking one at a time. >10k items that were out there for years, were cleaned up in minutes. Good luck!
Mostly likely you have no reason to trust me or my writing (or anyone else's writing, etc.). So don't. Don't use these code snippets or any code anywhere if you don't understand it. If you use it, it's on you. Test. YMMV.
If anyone can level this up, PLEASE DO! Improvements, alternatives, etc., are welcome!