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

Deepak Feb 18, 2018

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
This widget could not be displayed.
This widget could not be displayed.
Community showcase
Posted in Jira Software

Demo Den Ep. 5: Meet Jira Mobile

See how to use Jira on the go! Demo Den Episode 5 is here: meet Jira Mobile with  Jira  Product Manager Rayen Magpantay.  Demo Den is in our monthly series where a Jira PM demonstrates...

248 views 1 10
Join discussion

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