No default branch is generated when creating a repository in Bitbucket Cloud
プラットフォームについて: Cloud のみ - この記事は クラウド プラットフォームのアトラシアン製品に適用されます。
要約
When creating new repositories in Bitbucket Cloud, the default branch is not being created.
原因
The problem arises when a branch restriction is set at the project level, prohibiting any user from having write access.
For instance, if there's a branch restriction for the develop branch and the default branch to be created is also develop, then the user attempting to create a repository must have write permission in the project's branch restrictions.
ソリューション
Navigate to Project Settings => Branch Restrictions.
Check for any branch restrictions on the default branch to be created.
If a branch restriction exists, ensure that the user attempting to create a repository has write access.