Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

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

Abdulkarim Itani March 18, 2019

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
Gonchik Tsymzhitov
Community Champion
November 23, 2019

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
AUG Leaders

Atlassian Community Events