Creating new branch from issue using a different source branch uses default branch
Summary
When you try to create a new Branch from an issue using the "Create Branch" button, even though you type in the name of the source branch (or tag) you want to use, it doesn't consider the input and it always uses the default branch.
If you change, in the settings, the default branch, and create a branch using the "Create branch" button in an issue, it works fine.
Steps to reproduce
In a project where you may have multiple branches (let's say Master, UAT, DEV, feature_1, feature_2) and that there is code in each one of them.
Your default branch is Master.
You have an issue opened for a bug that was found in the UAT Branch:
- go in the issue, find the "Create branch" button and click on the little arrow to expand the details
- In the "Source (branch or tag)" Field, your default branch (Master in our example) will be pre-selected.
- Change that entry to UAT (you'll have to type it in since there's no dropdown menu).
- click on Create branch.
What is the current bug behavior?
It creates a branch using the Default Branch even though you replaced the entry by the name of another branch/tag. in the example I gave in the steps to reproduce section, it would have created a Branch using the "Master" branch instead of the "UAT" one.
What is the expected correct behavior?
A new branch that uses the specified source branch/tag instead of the default one.
Relevant logs and/or screenshots
~bug