Branch Creation Error through REST api

nagaraju bolleni July 31, 2019

Hi I am trying to create branch in bamboo project plan through REST API ... through node js code . using post .

var Url =  http://localhost:8085 + 'plan/project/branch/branchName?vcsBranch="/poName"'; try{          , {}, {                    auth: {                    username:['username'],                    password: ['password']                   }

I am getting Request failed with status code 405 ...


"Error: Request failed with status code 405\n at createError (c:\BitBucketRepo\server\node_modules\axios\lib\core\createError.js:16:15)\n at settle (c:\BitBucketRepo\server\node_modules\axios\lib\core\settle.js:18:12)\n at IncomingMessage.handleStreamEnd (c:\BitBucketRepo\server\node_modules\axios\lib\adapters\http.js:202:11)\n at IncomingMessage.emit (events.js:187:15)\n at endReadableNT (_stream_readable.js:1094:12)\n at process._tickCallback (internal/process/next_tick.js:63:19)"


0 answers

Suggest an answer

Log in or Sign up to answer
AUG Leaders

Atlassian Community Events