How do i automatically comment with build number on jira issues linked to build in bamboo after build success?

Hello,

When the new build completes successfully, automatically add a new comment to each of the Jira tickets that have been referenced in the commits associated with this build.
How can it be done?
Regards,
Ashwin

2 answers

0 vote

While there might be options to achieve this via an add-on, I'd like to suggest another approach first:

One of the features specific to JIRA Software (i.e. this is neither available for JIRA Core nor JIRA Service Desk) is Integrating with development tools, which (amongst other things), allows you to Viewing the development information for an issue via the ' Development panel':

  • Bitbucket Cloud or Bitbucket Server: view and create branches, view commits, and view and create pull requests
  • FishEye/Crucible(Git/Subversion/Perforce/CVS): view branches (not create), view commits, and view and create reviews
  • Bamboo: view the status of builds and deployments
  • [...]

 

So once configured properly, you'll get the desired cross application references automatically, and in a very compact and highly usable fashion – here's how this looks like:

JIRA-Software-development-panel.png

You can then click on the '3 builds' link to drill down for the build details, and likewise on the others of course.

Hi Steffen,

Thanks for the answer. But will the build status be shown in each of the issues' linked to the build plan in bamboo? 

 

Yes, the development panel shows issue specific information only, i.e. all the data and links you are seeing is specifically shown there because the resp. issue key has been referenced in a linked application like Bamboo and Bitbucket.

Ok Steffen .... thanks for the information.... 

0 vote

What JIRA edition are you currently using, JIRA Core, JIRA Software, or JIRA Service Desk? See my answer for the background.

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 May 18, 2017 in Bamboo

FAQ: How to Upgrade Bamboo Server

Bamboo 5.9 will no longer be supported after June 12, 2017. What does this mean? As part of our End of Life policy, Atlassian supports major versions for two years after the first major iteratio...

1,579 views 0 6
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