Hello there,
We are using Confluence 4.2.
Some of our users did not realize that they would watch pages and other content they created or edited automatically.
They would like to stop watching these contents, however it takes time to do that one by one.
Is there any way to stop watching multiple Confluence pages at one time? Please let me know.
Regards,
Daisuke Niwa
There's no such feature but there are open feature requests on this at:
Thanks Hanis,
Understood the situation.
Regards,
Daisuke Niwa
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
If you want a little more fine-grained control over the pages you want to remove watches for, I have also released a set of free user macros that lets you remove watches by selecting with checkboxes (you can also select an entire space at a time). To run them, you have to have the remote API enabled. You can find them here:
https://bitbucket.org/stephendeutsch/confluence-user-macros/src
Click on "bulk remove watchers" and you will see two macros there:
"remove watchers" lets you remove all watchers for a page and its children (you can also re-add in case you want to do some temporary action like moving a bunch of pages), and
"remove watches for user" allows you to remove your personal page watches, or it allows administrators to remove page watches for another user, for example, if an employee leaves the company and you want to remove their watches.
They're pretty easy to use, just copy and paste into the user macro field, set them as visible only for administrators, embed in a page, and you're all set to go.
If there's enough demand, I could release it as a plugin on the marketplace, so send me some feedback: stephen.deutsch@zanox.com
It should be compatible back to Confluence 4, so if you're still using an older version, it might be helpful. Hope it can also help someone!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I just came across this, and I think it's really useful! Thank you for writing it. It's a bit quirky, in that it asks to refresh the page when you apply the changes with the buttons, but works great.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Wow, this worked perfectly. Thanks!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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()))
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello everyone,
mentioned earlier our add-on Watch Remover https://marketplace.atlassian.com/plugins/it.logontec.dev.watchremover for a quick removal of watches on pages. There have been many compliments on the add-on in the sense of "quick, clear and easy" and a request to create the same thing for the admin.
Today we have released a new version 0.4.0 with this particular feature, that gives the admin the power to cancel watches for any user within Confluence. The administration part of Watch Remover still offers all the functions of the profile part, i.e. stop watching all for a selected user, stop watching all pages that have not been updated for 60+ days and stop watching all pages within a selected space.
Hope you all like it and come up with other suggestions on how to make it even better! Please try, review and give us a feedback.
Regards,
Marketa
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello everybody,
I understand this topic is a bit older, but maybe it would help you to know that we have just released a free plugin that can do exactly what you are looking for: cancel the watches on pages without having to do that one by one. For now you can choose if you want to cancel all of the watches you have (start with a cleared table so to speak) or watches on pages according to the spaces they are in, or watches that are on pages that have not been modified for more than 2 months (keeping up-to-date).
If you are interested, you can check it out here https://marketplace.atlassian.com/plugins/it.logontec.dev.watchremover
Hope it helps someone!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.