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 vote
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
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Posted Jun 12, 2018 in Bitbucket

Do you use any Atlassian products for your personal projects?

After spinning my wheels trying to get organized enough to write a book for National Novel Writing Month (NaNoWriMo) I took my affinity for Atlassian products from my work life and decided to tr...

27,066 views 26 12
Join discussion

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