Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,560,120
Community Members
 
Community Events
185
Community Groups

How to transition a JIRA Issue after a failed/successful Bamboo build

Hi together,
is it possible to transit a JIRA Issue to a specific Workflow status after a successful or failed Bamboo Build ? 

The Bitbucket triggers work like a charm

  • Pull request created
  • Pull request merged
  • Pull request declined (Bitbucket only)
  • Pull request reopened (Bitbucket Server only)
  • Commit created
  • Branch created

https://confluence.atlassian.com/adminjiraserver070/configuring-workflow-triggers-749383267.html

But i can't find any information, how to trigger a JIRA Issue from Bamboo.

Thank you for feedback,
Oliver 

5 answers

It should be possible to simple add a REST call to trigger a transition from Bamboo (curl or js). I use something similar to trigger a fork sync (merge) from bamboo when my master branch is updated and use commit triggers to fire the call. Can simply be called from a shell script at the end of a build job.

Hi @Carlen Benard,
unfortunately it doesn't worked. I wasn't able to move the issue after a successful / failed build.

Also the SmartCommits doesn't work.
My commit message "JAVA-2 #build another try" (transition name is "build") also doesn't moved to the issue into the build status.

I'm currently using

  • JIRA Software 7.0.10
  • Bamboo 5.9.4
  • Bitbucket Server 4.0.1

In the related issue (JAVA-2) i only can see the commits and the build result.

Thank you,
Oliver 

cbenard1
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
Feb 09, 2016

Hi Oliver,

If everything is configured as per the documentation provided and you're still not having any luck here please go ahead and raise a ticket at https://support.atlassian.com and include in your ticket that you've gone over the docs with no resolution. Please also attempt a build transition from JIRA then generate and attach a Bamboo Support Zip (Bamboo Administration >> System >> Atlassian Support Tools >> Support Zip >> Create) to this issue along with a JIRA support zip. Please also include screenshot of your workflow transition so we can verify the configuration.

Thanks!

Turner 

1 vote
cbenard1
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
Jan 20, 2016

Hi Oliver,

The info you're looking for can be found here:

https://confluence.atlassian.com/bamboocloud/integrating-builds-with-your-issues-workflow-737184352.html#Integratingbuildswithyourissuesworkflow-Integratingbuildtransitionsintoyourcustomworkflow

You'll have specific, Bamboo related workflow transition options in JIRA that will automatically cause transitions/resolutions based on pass/fail. 

 

Hope this helps!

Turner

This is a dead link now. Do you have the new one? 

Like # people like this
0 votes
Mohamed Adel
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
Mar 27, 2019

Update:

I just got a notification email from Atlassian team support that they doesn't support this feature in Bamboo server, it was supported in Bamboo cloud before they decided to end it.

We have a similar problem and even after adding the following in the transition doesn't trigger the JIRA issue status. "build.passed.transition"

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events