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 votes

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 votes

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
Community showcase
Published Monday in Jira Ops

Jira Ops Early Access Program Update #1: Announcing our next feature and a new integration

Thanks for signing up for Jira Ops! I’m Matt Ryall, leader for the Jira Ops product team at Atlassian. Since this is a brand new product, we’ll be delivering improvements quickly and sharing updates...

457 views 0 9
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