Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
Community Members
Community Events
Community Groups

Getting Bamboo plan key from pull request?

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
Community showcase
Published in Jira Service Management

Improving the Create Issue Experience in Jira Service Management Cloud

Hello everyone!  We are very excited to announce some much needed changes to the issue create experience in JSM (the blue "create" button) at the top of the screen.  We have just starte...

249 views 13 7
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you