Allow setting the main branch of a repo when creating a new repo via API

XMLWordPrintable

      Problem Definition 

      When creating a new repo with the following endpoint:

      https://developer.atlassian.com/bitbucket/api/2/reference/resource/repositories/%7Bworkspace%7D/%7Brepo_slug%7D#post

      it is not possible to set the main branch of a repo.

      Suggested Solution

      Allow users to set the main branch of a repo when they create a new repo via API.

              Assignee:
              Unassigned
              Reporter:
              Theodora Boudale (Inactive)
              Votes:
              5 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: