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
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Amir Kazemi
Posted an hour ago in Jira

We want to know what Jira Service Desk apps you're using!

Hi Community! My name is Amir and I’m on the Jira Service Desk product marketing team at Atlassian. Our team would love to understand how you’re leveraging our ecosystem for Jira Service Desk. Wha...

11 views 0 2
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