default branch per milestone
Problem to solve
After creating and adding a new issue to gitlab, the default option for creating a new branch is the default branch for the project. I would like there to be a milestone specific default branch. If this issue is a part of a milestone, the default branch when creating a new branch and merge request would be the milestones default branch rather than the projects default branch.
Intended users
Developer, Developer Team Lead
Further details
My team uses multiple milestones to plan and separate issues for current and future releases. Branches are created for each of these releases to allow parallel development of these issues. After issues are created, the best fit milestone is determined based on the nature of the issue, requirements, and priorities.
The expectation is that each issue will be branched off of and merged into the the branch aligned with the milestone that the issue belongs to. Once the milestone is completed, the milestone branch is merged into dev where conflicts are resolved between milestones if required. dev is pushed to qa then qa is pushed to master when qa signs off.
When creating new issues and making the branch/merge request, the default branch will always be incorrect (under the assumption that the default branch is not the milestone branch) and the developer has to enter the milestone branch manually. This leads to a lot of mistakes of selecting the wrong branch or forgetting to change the branch altogether.
Proposal
Being able to specify a default branch for each milestone would solve this problem. If a milestone does not have a default branch, the projects default branch would be used.
Permissions and Security
I think it would make sense that setting the milestones default branch would require maintainer permissions.