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!