Unable to create branch from UI

Still need help?

The Atlassian Community is here for you.

Ask the community

Platform Notice: Data Center Only - This article only applies to Atlassian products on the Data Center platform.

Note that this KB was created for the Data Center version of the product. Data Center KBs for non-Data-Center-specific features may also work for Server versions of the product, however they have not been tested. Support for Server* products ended on February 15th 2024. If you are running a Server product, you can visit the Atlassian Server end of support announcement to review your migration options.

*Except Fisheye and Crucible

Summary

Unable to create a branch from UI in a Bitbucket staging instance. The texts on the page flash, branch are not created, no error message shown in UI.

Environment

Bitbucket DC/Server 7.21.0

Diagnosis

The same behavior is seen in other projects with different browsers as well.

Steps to reproduce:

  • Navigate to http://BB_URL/plugins/servlet/create-branch?repoId=<ID>&branchFrom=refs%2Fheads%2Fmaster
  • Switch Branch type from Custom to Feature
  • Enter Branch name and click Create Branch
    • Expected: branch is created
    • Actual: texts on the page flash, branch is not created, no error message shown in UI.

Cause

Bitbucket is not redirecting to a correct URL after hitting the Create Branch button.

Solution

Adjust the baseURL field to point to a valid Bitbucket URL.

Last modified on Jul 20, 2022

Was this helpful?

Yes
No
Provide feedback about this article
Powered by Confluence and Scroll Viewport.