Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

how to send email notification after merge is done to all users

amit August 14, 2018

how to send email notification after merge is done to all users

 

Whenever user merge code from feature to develop branch, i need to raise notifications to all developers, how can I do that

 

1 answer

0 votes
Aaron
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
August 15, 2018

Hello Amit,

 

Welcome to the Atlassian Community!

 

Out of the box, it would be extremely hacky to do so. You would essentially have to have a script to run an API call to add everyone as a watcher to a pull request as its created. Not elegant and would most likely make a lot of people angry. 

Instead, I would recommend using ScriptRunner for Bitbucket Server. Out of the box, it has a PR merged event where you can send emails. You can then just add all of the users to To addresses.

To make it a bit easier to work with, maybe you can send it to a single email address that would then forward it to a group that has all of your developers in it.

 

Regards,
Aaron Levinson
Dev Tools Support Engineer

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events