Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

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 

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 

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 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
Community showcase
Published in Bamboo

Bamboo Data Center 8.1 is now available

G’day Bamboo customers, Bamboo DC 8.1 is now available with it the following features and programs: SAML 2.0, OpenID Connect, and Crowd SSO In order to help admins with a simplified user manage...

204 views 0 4
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you