Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Create first commit in a branch different than master through the API

Enrique Fernández-Polo Puertas
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
February 6, 2020

Hello!

 

I am trying to create a new repository using the API and create a commit in a branch different than master as stated in the documentation.

When a branch name is specified and the repo is empty, the new commit will become the repo's root commit and also define the repo's main branch going forward.

I am providing branch, message and some files using application/x-www-form-urlencode as content type. The new branch created is called 'master' instead of development as stated.

 

Any help?

 

Regards!

 

1 answer

0 votes
Daniil Penkin
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
February 6, 2020

Hello @Enrique Fernández-Polo Puertas,

This seems to be a bug on our side, I can reproduce the issue you're facing.

Do you mind filing a bug in our public issue tracker? This way you'll be automatically notified as soon as we provide a fix for it.

Thanks for reporting and sorry for the inconvenience!

Cheers,
Daniil

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events