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

Getting Bamboo plan key from pull request?

Peter Watt 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

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events