3

How can we send email notifications to everyone whenever anyone pushes any code to any of the branches on Bitbucket server?

Every associated person who has access to the branch should get an email notification whenever any commit happens from anyone to that branch.

Can we do this in Bitbucket Server? Where can I find the settings for this?

We are using Bitbucket Server and not Bitbucket Cloud.

Thanks, Yogini

Andrew Gray
  • 3,593
  • 3
  • 35
  • 62

1 Answers1

1

You didn't mention which version of Bitbucket you are using, instructions below are for 5.14.0 (latest version)

First you need to get each person to watch the repositories you are interested in, select a repository in the browser and then select 'Watch' on the right hand side of the screen:

Watch repositories

Then each person can configure what notifications they receive for repositories they are watching:

Select your profile icon on the right hand side, then select 'Manage Account', then select 'Watched Repositories'. In here you can customise the type of notifications you would like to get for each repository you are watching.

eeijlar
  • 1,232
  • 3
  • 20
  • 53
  • Thanks for the reply @eeijlar . We are using Atlassian Bitbucket v5.7.0. Is there any way to get the same functionality in this version? – yogini kothekar Oct 12 '18 at 10:07
  • I will note that the "Watched Repositories" area of your profile *may not actually list* repositories that you are, in fact, watching. I just tried the watch button marked in this answer and found that it was generating emails (but had just prior looked at my account's watched repositories list, where it said I wasn't watching any) and was able to turn off the notifications. – Draco18s no longer trusts SE Dec 04 '19 at 22:18