Custom branch name from issue Create Merge Request

Summary

When creating a MR and branch directly from an issue, gitlab ignores a customized branch name. Just creates the default branch name and then the MR create errors out since it keeps the custom branch name, which isn't created.

Steps to reproduce

  • Create an issue, I called it Release 2.1.0.
  • On the issue page expand the Create Merge Request popout.
  • Make sure "Create merge request and branch" is selected.
  • Change the "Branch name" away from the default, 1-release-2-1-0 we wanted something like release-2.1.0 no issue number and different version formatting
  • Change the "Source" to develop, default is main
  • Click "Create merge request"

Results in Gitlab creating a branch with the original default name, and then the Merge request create page gives an error since it does respect the custom branch name and that wasn't created.

Example Project

https://gitlab.com/dosfx/issue-test

What is the current bug behavior?

creates the wrong branch name

What is the expected correct behavior?

use the branch name I give it

Relevant logs and/or screenshots

image image image

Output of checks

This bug happens on GitLab.com