Is there a way to associate a build number with bamboo builds?

I would like to associate a real version number with each build triggered by bamboo (i.e. 1.0.92673), such that this version # can be accessible from Jira. Is this possible?

6 answers

Hi AmitB,

Could you please expand description of your use-case? I'm having trouble understanding what do you need - having more verbose context could make me recalling some tricks you could use...

regards

Currently, when I make a build from bamboo I only see a single number (i.e. #98), whereas I would like to see the actually build number (i.e. 3.0.91246). This way, on the jira side we can associate bugs with real version numbers rather than the internal bamboo build number.

Hm... Do I undestand correctly that you would like to the numbers like 3.0.91246 on the JIRA builds tab? Like in the screenshot below, instead of the marked #numbers you would like to see 3.0.91246?

Yes, exactly. Is it possible?

note to self: http://bitbucket.org/atlassian/bamboo/annotate/default/components/bamboo-web-app/src/main/webapp/fragments/plan/displayWideBuildPlansList.ftl#line-167 (please ignore)

AmitB,

I don't think it is possible. The part of code that displays that #buildNumber in JIRA is hard-coded in Bamboo and I don't see any relevant plugin points that would allow extending the displaying. So I think the only way would be to hack the Bamboo sources and write custom logic that would output something different than #buildNumber on JIRA 'build' tab.

Can I help you further somehow?

OK, so it looks like I will have to incorporate the Bamboo build number into our version number so that we can track it in Jira. Thanks.

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published yesterday in Jira

5 ways you can make the most of Jira Software and Bitbucket Cloud

As part of the Bitbucket product team I'm always interested in better understanding what kind of impact the use of our tools have on the way you work. In a recent study we conducted of software devel...

35 views 0 4
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