Can Bamboo automatically "copy" links to failed JIRA issues to next build?

Say we have a build (call it x) which includes changes from 5 JIRA issues, and 1 of them causes the build to fail... The issue is then fixed, further code is committed against that issue, and finally a new Bamboo build is started (call it x+1).

My problem is that build x is no longer valid for us, as it never completed, but the latest successful build is x+1 which Bamboo thinks only has a fix for 1 issue - whereas in fact it contains all 5 issues since the previous build had failed.

I was looking for a way to have Bamboo automatically link to all JIRA tickets from previous failed builds in subsequent ones. This of course may happen more than once (where you have sequential builds failing until all the underlying problems are resolved).

I'm using locally hosted (downloaded) versions of Bamboo & JIRA.

Any thoughts?

Thanks,

-Alex

1 answer

This widget could not be displayed.

Basically, for any green build you want to have a list of issues that went into this build and any previous failed build, right? If you need to have it in UI, you'd need to build a plugin for it.

If you only need the list, you can set up a relatively simple script using REST calls to Bambo to generate the issue list.

In a perfect world we'd want this in both Bamboo UI and JIRA as well - we have a lot of tickets in JIRA where their last build is a failed one, and we have no quick way of finding which successful build contains that fix. This is not be as simple as saying it's in "failed build no + 1", as it may take several consecutive (failed) builds to get to a successful one.

I guess plugin is the best way to go, we'll have to do without for now as we don't have the resources to go down that path! I'll take a look at Bamboo's REST API to come up with an interim solution, thanks.

-Alex

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 yesterday in New to Jira

Are you planning to trial, or are currently trialling Jira Software? - We want to talk to you!

Hello! I'm Rayen, a product manager at Atlassian. My team and I are working hard to improve the trial experience for Jira Software Cloud. We are interested in   talking to 20 people planning t...

81 views 1 0
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