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

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