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,254,251
Community Members
 
Community Events
164
Community Groups

Attach a an existing Bamboo Build to a Jira Version (Release) from Groovy Script

I reached to a deadend while looking for a solution in Jira Class APi and Bamboo Rest API

 

I trigger a bamboo build through Bamboo Rest API and the API returns a Build Number, which gets stored in a custom field in an Issue in Jira.

 

After getting this build number, I would like to attach the build reference to a version in Jira using Groovy. 

 

There is a way to do it through the GUI, which can be done through the below guide  

https://confluence.atlassian.com/jirasoftwarecloud/running-a-bamboo-build-when-releasing-a-version-764478184.html

Is there a way to do the above from Groovy or Jira Rest API or Bamboo API? 

1 answer

0 votes

Hi! 

What about through webhook and rest api ? 

I used that one for the same task

https://pypi.org/project/atlassian-python-api/

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Bamboo

Bamboo Data Center on Kubernetes

Hi, If you are running self-managed environments and looking to adopt modern infrastructure, Bamboo Data Center can now be deployed in a Kubernetes cluster. By leveraging Kubernetes, you can easily...

660 views 3 8
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