Add MR number, ticket number to suggestion commit message template
Problem to solve
It is now possible to set a template for merge request suggestion commits, which is great (see: #13086 (closed)). However, the set of placeholder variables is limited and does not include things that would be useful to certain organizations' commit message guidelines. For example, our commit messages include the issue number, or the merge request number, and neither of these are available in the set of variables as documented here: https://docs.gitlab.com/ee/user/discussions/#configure-the-commit-message-for-applied-suggestions.
I would like to see these:
- Merge request ID (either just as a number or including the exclamation point).
- Issue ID (an MR may be associated with many issues, so it could either concatenate them with commas, or pick the first)
I'm sure there could be others.
Even if #25381 (closed) is implemented, it'd still be nice to have a usable default so the message doesn't have to be changed each time.
Intended users
What is the type of buyer?
Community and above