Skip to content

Insert commit message into MR description when using templates

Problem

Developers frequently manually copy/paste their commit message into the description box when creating MRs. This happens automatically only with MRs that don't have templates enabled.

Proposal

Add some kind of custom variable in the MR template settings where we can insert the commit message description within any part of the template.

Ideal solution

Template settings MR form
Screen_Shot_2021-11-10_at_1.19.40_PM Screen_Shot_2021-11-10_at_1.21.15_PM

MVC

Just insert the commit message right before the template content begins