confluence-mentions-plugin

XMLWordPrintable

      Compare these two methods from com.atlassian.confluence.plugins.mentions.ConfluenceMentionsEventListener :

      @EventListener
          public void commentCreated(final CommentCreateEvent event) {
          sendNotificationsForNewContent(event.getComment());
          }
      
      @EventListener
          public void pageCreated(final PageCreateEvent event) {
          if (event.isSuppressNotifications() && event.getUpdateTrigger() == PageUpdateTrigger.LINK_REFACTORING) {
          return;
          }
          sendNotificationsForNewContent(event.getPage());
          }
      

      The PageCreateEvent listener at least somewhat honors the suppressNotification parameter. The CommentCreateEvent listener does not.

      As plugin developers, we'd like to be able to suppress @mention events for bulk operations on pages & comments.

      Per product developers:

      The event listener in confluence-mentions-plugin indeed is not looking at those properties for comment events (it should)

      As directed in https://ecosystem.atlassian.net/servicedesk/customer/portal/14/DEVHELP-4919, I'm raising this suggestion here. Hopefully I got the right project & issue type!

            Assignee:
            Unassigned
            Reporter:
            Jonny Carter
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: