How To Disable Notifications For Attachments Action

Still need help?

The Atlassian Community is here for you.

Ask the community

Platform notice: Server and Data Center only. This article only applies to Atlassian products on the server and data center platforms.

Purpose

Whenever an attachment in a page are added, updated or deleted, each action will generate a email notification to the watchers. If the page involves many attachments, watchers will received unwanted notification storm and noise.

Workaround

Since the release of Confluence 7.0, it is no longer possible to enable or disable individual modules of the bundled system apps through the Universal Plugin Manager. If you are running Confluence 7.* you can disable modules via UPM API by following Cannot enable or disable bundled system apps or modules

Currently it's not possible to disable the notification via UI. This particular feature request was tracked CONFSERVER-33214 - Getting issue details... STATUS

To workaround this, we would have to disable file-content-update-notification and file-content-remove-notification modules in Confluence File Notifications (com.atlassian.confluence.plugins.confluence-file-notifications) System Add-on.

UPM API Option:

 Use the Universal Plugin Manager API to either enable or disable it.

curl --user "<USER>:<PASSWORD>" --location --request PUT '<baseURL>/rest/plugins/1.0/com.atlassian.confluence.plugins.confluence-file-notifications-key/modules/file-content-update-notification-key' \
--header 'Content-Type: application/vnd.atl.plugins.plugin.module+json' \
--data-raw '{
    "enabled": false
}'

curl --user "<USER>:<PASSWORD>" --location --request PUT '<baseURL>/rest/plugins/1.0/com.atlassian.confluence.plugins.confluence-file-notifications-key/modules/file-content-remove-notification-key' \
--header 'Content-Type: application/vnd.atl.plugins.plugin.module+json' \
--data-raw '{
    "enabled": false
}'

Confluence restart is required to re-enable the plugin module.

For Confluence 6.15.* and Older

  • Go to  > Add Ons / Manage Apps
  • Select All Add-Ons From the Drop Down List
  • Search for Confluence File Notifications
  • Expand the modules
  • Disable file-content-update-notificationfile-content-remove-notification


Last modified on Aug 28, 2022

Was this helpful?

Yes
No
Provide feedback about this article
Powered by Confluence and Scroll Viewport.