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

Ashwin Kupatkar November 14, 2016

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
Steffen Opel _Utoolity_
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
November 15, 2016

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

0 votes
Steffen Opel _Utoolity_
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
November 15, 2016

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.

Ashwin Kupatkar November 15, 2016

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? 

 

Steffen Opel _Utoolity_
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
November 16, 2016

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.

Ashwin Kupatkar November 16, 2016

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

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events