• 15
    • 36
    • We collect Confluence feedback from various sources, and we evaluate what we've collected when planning our product roadmap. To understand how this piece of feedback will be reviewed, see our Implementation of New Features Policy.

      NOTE: This suggestion is for Confluence Server. Using Confluence Cloud? See the corresponding suggestion.

      On a busy site where users comment and edit a lot, you end up with hundreds of pages that you are subscribed to. At some point, while cleaning up, it would be nice to be able to select a bunch of pages (via checkboxes perhaps) and then click on a button that says "Unwatch all selected pages" or something to that effect.

      Workaround

      These watch statuses can be manually deleted via database commands.

      Always take a database backup and stop Confluence before running database queries that manipulate the database

      We can run something like this to get the specific page name along with the notificationid (substituting in the username:

      Select notifications.notificationid, content.lowertitle FROM notifications 
      INNER JOIN CONTENT on notifications.contentid = content.contentid
       WHERE notifications.username IN (SELECT user_key FROM user_mapping WHERE username= '<user-name>');
      

      Then run the following to delete notificationids for the pages you want to remove for the user:

      DELETE from notifications where notificationid in (12345,6789);
      

            [CONFSERVER-8458] Allow for unwatching multiple pages at a time

            Dave Reeck added a comment -

            Seriously - this is basic functionality. 

            I have been using Confluence for 8 years at my company. I have 59 pages of watched pages. I probably want to watch 10 of those pages. I assume my best option is to...

            • turn off notifications
            • some how remember all the pages I want to watch
            • re-watch them

            That's too much work, so I will now turn off all notifications and get less value from confluence. 

            Dave Reeck added a comment - Seriously - this is basic functionality.  I have been using Confluence for 8 years at my company. I have 59 pages of watched pages. I probably want to watch 10 of those pages. I assume my best option is to... turn off notifications some how remember all the pages I want to watch re-watch them That's too much work, so I will now turn off all notifications and get less value from confluence. 

            //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()))
             
            

            Anton Kulikov added a comment - // 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()))  

            13 years, how is this not implemented yet? 

            I thought my company took it's time....

            Dennis Veenstra added a comment - 13 years, how is this not implemented yet?  I thought my company took it's time....

            William Deshaies added a comment - - edited

            Running Confluence 6.9.0 and Watch remover is working properly. Enable user to unwatch themselves or there is also a tab for the administrator to unwatch for other users. And the plugin is free.

            https://marketplace.atlassian.com/apps/1212399/watch-remover?hosting=server&tab=overview

            William Deshaies added a comment - - edited Running Confluence 6.9.0 and Watch remover is working properly. Enable user to unwatch themselves or there is also a tab for the administrator to unwatch for other users. And the plugin is free. https://marketplace.atlassian.com/apps/1212399/watch-remover?hosting=server&tab=overview

            Hi all,

            Thanks for your interest in this issue.

            While this suggestion has gathered significant interest, we're unable to implement all of the excellent suggestions you make. We appreciate the benefits of such requests, but don't plan to work on this for the foreseeable future.

            This suggestion will be reviewed in about 12 month's time, at which point we’ll consider whether we need to alter its status.

            Best,
            Confluence Product Management

            Jenny (Inactive) added a comment - Hi all, Thanks for your interest in this issue. While this suggestion has gathered significant interest, we're unable to implement all of the excellent suggestions you make. We appreciate the benefits of such requests, but don't plan to work on this for the foreseeable future. This suggestion will be reviewed in about 12 month's time, at which point we’ll consider whether we need to alter its status. Best, Confluence Product Management

            This would be a good feature to have.

            Shane Wignall added a comment - This would be a good feature to have.

            Hans-Peter Geier added a comment - - edited

            The watch remover plugin from @marketa.dvorackova (mentioned earlier in this thread) is not available anymore (or "yet")  for 5.10 and beyond. Seems to be a pity, because at a glance it sounds like this is what I'm looking for.

            Hans-Peter Geier added a comment - - edited The watch remover plugin from @marketa.dvorackova (mentioned earlier in this thread) is not available anymore (or "yet")  for 5.10 and beyond. Seems to be a pity, because at a glance it sounds like this is what I'm looking for.

            I have installed the treeview plugin, but still see value in a more flexible tool, as the watched pages do not necessarily exist in one tree, and it has no administrator super-capabilities to remove watches for other users.

            These are the use cases:

            • a regular user wants to get rit of many of his watches, for example because he changes his responsibility
            •  an administrator wants to remove all watches from a user who left the company.  (the leaving user usually doesn't clean up)

            Today I do also face an issue with removing watches for people which left the company. When the user's record has been already removed from the LDAP, it is no longer possible to remove the watches for this user.  (at least not in Confluence 5.8 and 5.10 - a bug)

            Hans-Peter Geier added a comment - I have installed the treeview plugin, but still see value in a more flexible tool, as the watched pages do not necessarily exist in one tree, and it has no administrator super-capabilities to remove watches for other users. These are the use cases: a regular user wants to get rit of many of his watches, for example because he changes his responsibility  an administrator wants to remove all watches from a user who left the company.  (the leaving user usually doesn't clean up) Today I do also face an issue with removing watches for people which left the company. When the user's record has been already removed from the LDAP, it is no longer possible to remove the watches for this user.  (at least not in Confluence 5.8 and 5.10 - a bug)

            Roger Oberg added a comment - - edited

            As a workaround I used to unwatch all pages:

            installed the Tree viewplugin (https://marketplace.atlassian.com/plugins/de.edrup.confluence.plugins.tree-view/server/overview)

            then it´s possible to unwatch a page and all its subpages using the plugin.

            Roger Oberg added a comment - - edited As a workaround I used to unwatch all pages: installed the Tree viewplugin ( https://marketplace.atlassian.com/plugins/de.edrup.confluence.plugins.tree-view/server/overview ) then it´s possible to unwatch a page and all its subpages using the plugin.

            Normand Brousseau added a comment - - edited

            This would be an important addition in our use case.

            In my personal Email settings, I used for a while the options "Autowatch" and "Subscribe to network". Now I'm getting tired of receiving so much mail, so I just deactivated those options.

            Upon deactivating those options, I would have expected to no longer receive any notifications from content which I had not specifically tagged as 'Watched' and which falls under those categories, i.e.:

            • "Pages and blog posts that I once created, edited or commented on " (cf. 'Autowatch')
            • "Content created or added by anyone I am following " (cf. 'Subscribe to network')

            Instead, I find out that I have 20 pages' worth of Page Watches, and that the list didn't get smaller even though I changed my Email options.

            This leads to a conclusion I hadn't seen coming, for me and all users who have been activating those options for any period of time:

            • watches set while those options are activated seem to be tagged once and for good
            • in order to remove them (even after options are deactivated), one has to go through all of them and manually 'unwatch' them

            Watch Remover may once have been a solution, but its last release dates back to 2014-10-17 and isn't compatible with Confluence 5.10.x.

            Surprisingly, they've been Unresolved for a very long time, and no alternative is being offered anymore. In my view, something should have been implemented to ease the transition when the new "Email preferences" were put into force as default...

            Normand Brousseau added a comment - - edited This would be an important addition in our use case. In my personal Email settings, I used for a while the options "Autowatch" and "Subscribe to network". Now I'm getting tired of receiving so much mail, so I just deactivated those options. Upon deactivating those options, I would have expected to no longer receive any notifications from content which I had not specifically tagged as 'Watched' and which falls under those categories, i.e.: "Pages and blog posts that I once created, edited or commented on " (cf. 'Autowatch') "Content created or added by anyone I am following " (cf. 'Subscribe to network') Instead, I find out that I have 20 pages' worth of Page Watches, and that the list didn't get smaller even though I changed my Email options. This leads to a conclusion I hadn't seen coming, for me and all users who have been activating those options for any period of time: watches set while those options are activated seem to be tagged once and for good in order to remove them (even after options are deactivated), one has to go through all of them and manually 'unwatch' them Watch Remover may once have been a solution, but its last release dates back to 2014-10-17 and isn't compatible with Confluence 5.10.x. Surprisingly, they've been Unresolved for a very long time, and no alternative is being offered anymore. In my view, something should have been implemented to ease the transition when the new "Email preferences" were put into force as default...

              Unassigned Unassigned
              07ccbdf81576 tahiry andriamananjara
              Votes:
              234 Vote for this issue
              Watchers:
              121 Start watching this issue

                Created:
                Updated: