How to get e-mail notification on failed builds

We are using svn and would like to set up notifications such that whenever a build breaks, the user that commited the change that broke the build will get an e-mail. I set up First Failed Job For Plan for a specific bamboo user successfully, but I would to send the e-mail to the commiter (svn user), not a bamboo user. How do I link e-mail addresses to svn commiters? When I set up the notification to Committers (users who have committed to the build) instead of a specific bamboo user, it does not work.

2 answers

1 accepted

This widget could not be displayed.

Try associating their repo username with their Bamboo user. A user can edit their profile (click the dropdown arrow next to your name in the upper right while logged in to Bamboo), select Profile, Edit Profile, and try setting the Source Repository Alias. This should let the committer user be associated with a Bamboo user and thus their email.

We have more svn users than bamboo users. Is there a way to link an e-mail address to a svn user with being a bamboo user?

This widget could not be displayed.

If you meant 'without' being a Bamboo user, then I'm not aware of how to do that. I believe you need to have a user set up, wther or not someone actually uses it, to tie a source repo alias (SVN user) to an account with an email address. You can link multiple aliases (SVN usernames) to a single Bamboo user account in case that scenario helps you at all.

I mean we have 5 bamboo users and about 20 svn users. How do I link multiple svn users to a single bamboo user? Can I then set up a separate e-mail for each svn user, or is it tied to the original single bamboo user?

In the Edit Profile section for a Bamboo user, they can associate multiple SVN aliases using the Source Repo Alias field. You can only have 1 email for each Bamboo user.

We have bamboo linked to Jira, on which we do have users for each developer. Is there a way to open a new Jira issue to a Jira user linked to the commiter once a build is broken?

You can use the Create issue action to create a JIRA issue but you would have to set the assignee manually from within JIRA.

How can I create an issue automatically based on a build result as part of the build script? I can only see how to do it manually after the build is done.

You can create a JIRA issue in a Script task by using JIRAs REST API.

Suggest an answer

Log in or Sign up to answer
Atlassian Summit 2018

Meet the community IRL

Atlassian Summit is an excellent opportunity for in-person support, training, and networking.

Learn more
Community showcase
Posted Wednesday in Teamwork

What teamwork quotes inspire you?

Hey everyone! My name is Natalie and I'm an editor of the Atlassian Blog and I've got a question for you: What's your favorite quote about teamwork?  We've compiled a list here, along with...

171 views 18 7
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