The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

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

Getting Bamboo plan key from pull request?

Peter Watt
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
April 8, 2022

Hiya All,

I am new to Scriptrunner and am looking for a way to start a repository specific bamboo build under certain conditions (i.e. for repository 'test' when pull request is created to 'production' start the bamboo 'sonar' plan on the auto-merged result) but have been struggling to find the information required.

I can get the 'pull request created' action working, and can start Bamboo builds via the REST API (rest/api/latest/queue/<plan_key>) if i hardcode a plan_key in there but i have no idea how to get plan_key dynamically...

Anyone got any ideas?

0 answers

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

TAGS
AUG Leaders

Atlassian Community Events