"Create merge request and branch" from issue sometimes not setting the branch name that the user wants.
Summary
Using the Create merge request and branch from an issue automatically creates an branch name in the input field. The predefined placeholder gets created on first access to the issue. After changing the placeholder title of the branch to a name that includes a /
character (example feature/issue-name
) the branch name sometimes is created with the default placeholder title, sometimes with a "partial" of the altered name, sometimes without the /
character at all and sometimes it works like expected.
Steps to reproduce
- Create issue in a repo
- Click on the Create merge request button
- Take a look at the recommended branch name
- Change the issue title
- Click in the Create merge request button
- Take a look at the new branch name which does not match the changed issue title
Example Project
Works on every project currently on GitLab.com.
What is the current bug behavior?
When changing the placeholder title of the branch name to a name that includes a /
character (example feature/issue-name
) the branch name sometimes is created with the default placeholder, sometimes with a "parcial" of the altered name, sometimes without the /
character at all and sometimes it works like expected.
What is the expected correct behavior?
The branch name is set like the user requested everytime.