Disable auto-closing issues instance-wide

Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.

Problem to solve

GitLab auto-closes issues when the 'issue pattern' is matched. For example, if I were to put 'Fixes #1 (closed)' or 'Closes #1 (closed)' in a commit or PR description.

In enterprise environments, this is unwanted, as issues should only be closed after a more thorough QA process.

However, auto-closing issues can only be disabled on a per-project basis: https://docs.gitlab.com/ee/user/project/issues/managing_issues.html#disable-automatic-issue-closing

Although https://docs.gitlab.com/ee/user/project/issues/managing_issues.html#user-responsibility-when-merging says that it is the merger's responsibility to ensure the correct issues are closed, if never auto-closing issues is an organisation-wide policy, this is an unnecessary - and error-prone - burden.

Proposal

Allow auto-closing issues to be toggled instance-wide.

Workarounds:

Intended users

Feature Usage Metrics

Does this feature require an audit event?

Edited by 🤖 GitLab Bot 🤖