Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Deleted user
0 / 0 points
Next:
badges earned

Your Points Tracker
Challenges
Leaderboard
  • Global
  • Feed

Badge for your thoughts?

You're enrolled in our new beta rewards program. Join our group to get the inside scoop and share your feedback.

Join group
Recognition
Give the gift of kudos
You have 0 kudos available to give
Who do you want to recognize?
Why do you want to recognize them?
Kudos
Great job appreciating your peers!
Check back soon to give more kudos.

Past Kudos Given
No kudos given
You haven't given any kudos yet. Share the love above and you'll see it here.

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Mass unsubscribe from space notifications in confluence

I recently instituted confluence as the primary tool for documentation and collaboration at our company. To jumpstart usage, I created a couple dozen spaces for teams to develop. Somehow, that has turned into email notifications for virtually every edit in our confluence instance, which I do not want. 

 

I know that each email I receive has an unsubscribe link, and I also know that there is a (very long) list of page watches in my personal settings. I'm wondering if there's a better solution to unsubscribe from these hundreds of pages. I'm currently only subscribed to my personal space, so i see no other big levers to pull. 

4 answers

1 accepted

0 votes
Answer accepted

Hi Bryan,

It is not possible to unwatch all pages with a single click out of the box. 

There is a free plugin-in however that allows to do so:

https://marketplace.atlassian.com/plugins/it.logontec.dev.watchremover/server/overview

Hi Bryan

You could go to your profile settings and unsubscribe from there (it is called watching).

More info here: https://confluence.atlassian.com/doc/watch-pages-spaces-and-blogs-139579.html

"Manage watches from your user profile" 

Hi Jakub, Thanks for your answer!

 

I know there is a list of page watches in my profile settings; I said that in my original comment. I currently have a long list of hundreds of pages I'm somehow watching. Do I have to click "stop watching" for each one?

Additionally, it seems like I'm getting added to pages that are being created. How do I stop that so that the list of pages I'm watching doesn't continue to grow?

Thanks Jakub! If you want to convert your comment to an answer, I'll use it to answer this question. 

Its not a solution yet, but rather a smarter workaround to clicking on every single "Stop Watching":

  1. Go to Profile > Watches (i.e. https://confluence.YourCompany.net/users/viewnotifications.action)
  2. Open browser Developer Tools (F12)
  3. Run this script:
    $('.link-stop-watching').click()
  4. Refresh the page and repeat until all watches are gone.
Like Amal Edirisinghe likes this

This is worked for me. Thanks for sharing. 

if you have scriptrunner

 

this code help me

import com.atlassian.confluence.mail.notification.NotificationManager
import com.atlassian.spring.container.ContainerManager
import com.atlassian.sal.api.component.ComponentLocator
import com.atlassian.confluence.pages.PageManager
import com.atlassian.confluence.search.service.ContentTypeEnum
import org.slf4j.Logger
import org.slf4j.LoggerFactory
import com.atlassian.confluence.user.UserAccessor
import com.atlassian.confluence.spaces.SpaceManager
import com.atlassian.user.UserManager 
Logger log = LoggerFactory.getLogger("console") 

def userManager = ComponentLocator.getComponent(UserManager)

NotificationManager nm = ( NotificationManager) ContainerManager.getComponent(
"notificationManager")
PageManager pageManager = ComponentLocator.getComponent(PageManager)
ContentTypeEnum ctp = ComponentLocator.getComponent(ContentTypeEnum)
UserAccessor userAccessor = ComponentLocator.getComponent(UserAccessor)
def spaceManager = ComponentLocator.getComponent(SpaceManager)
def users = userManager.users.find{it.getName() == "username"} 
def nfu = nm.getNotificationsByUser(userAccessor.getUserByName(users?.getName()))
nm.removeAllNotificationsForUser(userAccessor.getUserByName(users.getName()))
return  nm.getNotificationsByUser(userAccessor.getUserByName(users.getName()))

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Confluence

🥓🙅🏻‍♀️ Meet-less May Badge!

Hello Confluence Community!  What if i told you that you could have a healthier life and be 100% meet-less? This month, we're promoting a healthy, balanced work diet with Confluence. (Read m...

446 views 3 18
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you