It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Bamboo cloud build using REST API

Hi,

I am trying to invoke Bamboo REST API from Bit Bucket using plugin "Pull Request Notifier" for a pull request raised. I have invoked the URL as mentioned below and passed the pull request related parameters. But since my build plan has a task to fetch the code from a particular repository,  pull request parameters passed here are being ignored and predefined repository is being fetched. Is there any way that my build plan merges the code based on passed parameters and run the build on top of that? How should my build plan look like to fetch the repository using these parameters?

I am aware that Bamboo 6 has a new feature for pull requests but our organizations current version is 5.6.2.

I have tried to implement this based on the suggestions given in the URL below

https://community.atlassian.com/t5/Bamboo-questions/Building-Pull-Requests-from-Stash-on-Bamboo/qaq-p/77703

 

URL Used:

https://<My Bamboo Host Name>/build/admin/triggerManualBuild.action?buildKey=<Plan Name and Key>&bamboo.PULL_REQUEST_ID=${PULL_REQUEST_ID}&bamboo.PULL_REQUEST_TO_SSH_CLONE_URL=${PULL_REQUEST_TO_SSH_CLONE_URL}&bamboo.PULL_REQUEST_TO_REPO_NAME=${PULL_REQUEST_TO_REPO_NAME}&bamboo.PULL_REQUEST_TO_BRANCH=${PULL_REQUEST_TO_BRANCH}&bamboo.PULL_REQUEST_TO_REPO_PROJECT_KEY=${PULL_REQUEST_TO_REPO_PROJECT_KEY}&bamboo.PULL_REQUEST_URL=${PULL_REQUEST_URL}&bamboo.PULL_REQUEST_VERSION=${PULL_REQUEST_VERSION}&bamboo.REPOSITORYSLUG=${PULL_REQUEST_AUTHOR_SLUG}&os_authType=basic&executeAllStages=true

0 answers

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Bamboo

Unable to add or edit Bitbucket Cloud repository in Bamboo

On 31 May, a GDPR-related change went live in the Bitbucket Cloud API that resulted in users not being able to create or edit Bitbucket Cloud Linked repositories in Bamboo. This API update removed t...

552 views 2 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