Skip to content

Auto-set title for branches created from issues

username-removed-443319 requested to merge 14564-mr-automatic-title into master

This sets the title for a new MR to 'Resolves "$issue-title"' when:

  • The source branch for the MR begins with a value iid.
  • The MR has more than one commit in its diff (if there's one commit, keep using the commit's first line).
  • The iid does not point to a confidential issue.

Single commit:

A single commit uses the commit title

Multiple commits:

Multiple commits use the issue title

Confidential issue:

A confidential issue uses the branch name

cc @DouweM @zj

Closes #14564 (closed)

Merge request reports