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

2 votes
Accepted answer

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?

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
Community showcase
Published 3 hours ago in Agile

How Scrum works? It starts with training and education

To answer “How scrum works,” most of the teams I've worked with first addressed the question: “where to start?”  That question applies to both implementation and improvements on the Scrum framew...

50 views 1 3
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