The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Confluence: How stop watching multiple pages in one operation?

Steve Fogel
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
August 27, 2014

Hi...I managed to end up watching 75 pages in one Confluence space, and I don't see a way in email preferences to stop watching all of them. Looks like I have to click "Stop watching" next to each page. Any way to do this in bulk? Thx

3 answers

1 accepted

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

0 votes
Answer accepted
Wayne Wong
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
August 27, 2014

Hi there,

You can click on your profile >> Watches to list out all your subscriptions.

Click on "Stop Watching" to disable them.

Hope this help.

Thank you.

Regards,

Wayne Wong

0 votes
Anton Kulikov
April 15, 2021

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()))
0 votes
Ethan Foulkes
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Champions.
August 27, 2015
TAGS
AUG Leaders

Atlassian Community Events