I connect to the question, I need to periodically create new branches and change main branch
but I can not appoint main branch
this action is not mentioned in the documentation
this:
not working, I send
{'mainbranch':{
'type': 'branch',
'name': 'branch_name'}
}
not working, I send
{'parents': 'master', 'branch': 'branch_name'}
Hello Денис
With the v2 API being so new we have noticed a few people asking the same. This short answer if you can make modifications to the main branch within the v2 API is no. The longer answer is there are feature requests and there is more to come within the v2 API in the future. With the changes spawned from GDPR, there is work that needs to be done beforehand. There is a feature request I would suggest you vote and watch to receive updates on its status. You may find this request at Issue #13306.
I hope this proves helpful and helps to clarify what is possible within the v2 API.
Regards,
Stephen Sifers
Hello Денис,
Feature requests don’t always come down to votes themselves, there are other factors which may cause one feature to move to production and other features to have to wait. The best explanation of how new features get approved is within the Implementation of New Features Policy. This policy explains all of what is evaluated when a new feature gets approved.
I hope this is helpful in explaining what is needed to approve a feature request.
Regards,
Stephen Sifers
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Stephen Sifers a year later and this hasn't been prioritized or worked on. what gives?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
so almost a year again and yet feature is not implemented. What it will take to prioritize this feature, if voting doesn't play a role ?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
This is unbelievable, how long could this actually take? How do you, Atlassian, think that it is ok to not have this feature as an API?
Default branch is still master while all the world has moved to main.. and to update that we need to manually change it in the console? Crazy.
5 Years has passed and this is still hanging???
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I need to update 19 repos,
each update requires
thank you for letting me waste my time by not providing an automated solution
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.