-
Bug
-
Resolution: Duplicate
-
Low
-
None
-
5.4.0, 5.3.2
-
None
-
None
-
Severity 3 - Minor
-
1
-
Summary
Environment
- Bitbucket 5.3.2 or 5.4.0 (other versions may be affected as well)
Steps to Reproduce
1. On a repo, set up branch permissions to prevent all changes:
a) Select Branch pattern
b) Enter refs/heads/release/*
c) Select Prevent all changes
d) Click Create
2. Edit a file through the Bitbucket Server GUI and make changes to it
3.Click Commit
4. Select Create a pull request for this change
5. As the Branch name enter release/somechange
6. Click Create pull request
Expected Results
A message is displayed informing the user that branch permissions prevent the creation of the branch
Actual Results
The following message is displayed to the user:
A branch with this name already exists. Try another.
Workaround
Remove branch permissions or tell users to create pull requests for other branches than the one with the restrictive permissions applied to it.
- duplicates
-
BSERV-10159 When editing a file, if user doesn't have branch permissions, the UI says the branch already exists
- Closed