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

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
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.
Nov 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