This question is in reference to Atlassian Documentation: repository Resource
Is there a way to create a branch in a Bitbucket cloud repository using the REST API? There's a button on the Web UI to do so.. I know I can use git itself to create and push a branch, just wondering if I can do it in our build process without cloning the repo locally first.
it's not the official API docs but I traced the web call from the frontend but this works
curl -X POST -H "Content-Type: application/x-www-form-urlencoded" -vv -u '$USERNAME:$PASS' "" -s -d 'repository=$TEAMORUSER%2F$REPO&from_branch=master&branch_name=staging'
We're looking for participants for a workshop at Atlassian! We need Jira admins who have interesting custom workflows, issue views, or boards. Think you have a story to sha...
Connect with like-minded Atlassian users at free events near you!Find a group
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG
You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs