[go: up one dir, main page]

Skip to content

Configure default names for branches created from issues

Release notes

You can now define a name template for branches created from issues. Previously, it was set to {issue ID}-{issue-title-hyphenated}, which continues to be the default. To define your own template go to Repository Settings > Branch defaults.

image

Description

Problem: Currently, the "Create Merge Request" only supports the default issue template of {issue number}-{issue-name-hyphenated}

The creation of branches has become a heavily utilized feature for us, but we are unable to change the default template for branch creation, and we use the convention of {project acronym}-{issue number} for our projects, e.g. SP-3

Proposal

In the project configuration screen, add an option for the default template for branch creation, including injectable parameters for issue name, issue number, and hard-coded strings or text.

Links / references

Capture

Customers

customer contact
https://gitlab.zendesk.com/agent/tickets/294216 @dannyjb
https://gitlab.my.salesforce.com/0064M00000Z6slH @dzalbo
https://gitlab.my.salesforce.com/0016100001cssuqAAA  @dnldnz
https://gitlab.my.salesforce.com/0064M00000YNVaN?srPos=0&srKp=006 @jrandazzo
Edited by Torsten Linz