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.
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.
Over the next several weeks we'll be sharing some of our Getting Started guides here in the community. Throughout this series of posts, we'd love to hear from customers and non-customers ab...
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!
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