Uploaded image for project: 'Bitbucket Server'
  1. Bitbucket Server
  2. BSERV-8620

As an admin, I want to easily disable mail notifications with a configuration property

    XMLWordPrintable

    Details

    • UIS:
      27
    • Feedback Policy:
      We collect Bitbucket 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.

      Description

      Problem Definition

      The mail notification settings are not stored in a configuration property, and it is not possible to easily disable them.

      Use cases for this request
      Disaster recovery daily synchronization
      Every day a backup of the production instance is copied to a disaster recovery site. When the application is started in the disaster recovery environment, the batch emails (not yet processed) are sent from both the main production and the disaster recovery environment causing duplicated emails to be received.

      Mirroring a production system to a development/staging server
      We have a staging server that we use to test updates to Bitbucket Server. We clone from production but don't want the staging clone to send (duplicate) emails.

      Suggested Solution

      Provide a configuration property to disable the mail notification, so that this setting can be set independently on the main production and on the disaster recovery site.

      JIRA provides the -Datlassian.mail.senddisabled=true option.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              ccurti Caterina Curti
              Votes:
              40 Vote for this issue
              Watchers:
              28 Start watching this issue

                Dates

                Created:
                Updated: