This page explains how an administrator can configure issue closing patterns.
For user documentation about the feature, see
Closing issues automatically.
When a commit or merge request resolves one or more issues, GitLab can close those issues when the
commit or merge request lands in the project’s default branch.
# For systems running systemdsudo systemctl restart gitlab.target
# For systems running SysV initsudo service gitlab restart
To test the issue closing pattern, use Rubular.
Rubular does not understand %{issue_ref}. When you test your patterns,
replace this string with #\d+, which matches only local issue references like #123.