Bamboo DC API call, how to start build on specific branch only

Dzmitry Mandryk October 11, 2024

 

Hi,

I'm trying to trigger a build on a specific branch using a Bamboo DC API call from Jira Cloud. I'm sending a request like this:

http://foo.com/rest/api/latest/queue/SUW-PET?bamboo.branchName={{pullRequest.sourceBranch}}

However, instead of starting the build on the desired branch, it starts the build on the master branch.

Could you please help me understand how to trigger a build on a specific branch?

Thank you in advance!

0 answers

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
TAGS
AUG Leaders

Atlassian Community Events