How can I disable merge diff emails for a specific repo?

I have a number of repositories which contain sensitive information.

I want to continue to receive email's regarding pull requests, however, I don't want the emails to contain the actual merge diffs in plaintext, or really at all in the email itself.

Is there a way to disable/modify email notifications for an entire project or a single repository?


Currently using Stash 3.6.1

Note: Only interested in modifying notifications for a targeted project/repo, not all of them globally.


2 answers

What version of Bitbucket are you on? Check this page out ( I do not seem to recall disabling it at all unless you supply an invalid email config in the Bitbucket settings.

0 votes
Ben Stuart Atlassian Team Dec 27, 2017


In the public facing issue BSERV-4747 our development team decided not to allow using email templates, so the email notifications sent by Bitbucket Server cannot be customized.

Your best option is to add the issue you've found, BSERV-9893, to your watch list and add your feedback there. This will make our development team prepare a solution that best matches your needs.

It might be possible to download Bitbucket Server source code if your license allows doing that, then and customize email notifications someway (maybe other people can help clarifying that in this thread, because I am not sure which source should be modified), but please bear in mind that customized instances (or built from source) are not supported.

You can also try a plugin like Notifyr - Notifications for Bitbucket which gives you an option to remove code I believe. 


Suggest an answer

Log in or Sign up to answer
Community showcase
Published Nov 06, 2018 in Bitbucket

Upgrade Best Practices

Hello! My name is Mark Askew and I am a Premier Support Engineer for products Bitbucket Server/Data Center, Fisheye & Crucible. Today, I want to bring the discussion that Jennifer, Matt, and ...

699 views 5 10
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you