Details
-
Suggestion
-
Resolution: Unresolved
-
None
-
None
-
None
-
1
-
Description
The 'Create Branch' feature allows users to create a new branch from BitBucket Server. The user is first asked to select which repository to create the branch in. This defaults to the last viewed repository.
The Branch From field captures where the branch is being created from. For the repository which is selected by default, this field defaults to its default branch e.g. master. However, when you switch the repository to another one, the Branch From field is not updated to then select the new repository's default branch.
Steps to reproduce on stash.atlassian.com:
- View the 'Bamboo' repository so it is the last viewed one
- Go to a JIRA issue on JDOG e.g. JPA-1435
- Click 'Create branch' to initiate the feature in BBS
- The repository selected should be 'Bamboo'. The branch from field should be 'master'.
- Change the repository to 'JIRA Cloud'.
Expected:
- The branch from field should now be 'master' as that is the default for that repository.
Actual:
- The branch from field is cleared.