[go: up one dir, main page]

Skip to content

Hide "will be closed automatically" when auto-close is off

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

Summary

The Related merge requests widget on an issue displays When this merge request is accepted, this issue will be closed automatically, even when Auto-close referenced issues on default branch is disabled.

Steps to reproduce

  1. Visit a project
  2. Visit the project's Settings > Repository
  3. Uncheck Auto-close referenced issues on default branch and Save changes
  4. In a merge request description, reference an issue like Closes #123
  5. Visit the issue, look at its Related merge requests

What is the current bug behavior?

When Auto-close referenced issues on default branch is disabled, the Related merge requests widget on an issue displays When this merge request is accepted, this issue will be closed automatically.

What is the expected correct behavior?

When Auto-close referenced issues on default branch is disabled, the Related merge requests widget on an issue should not display When this merge request is accepted, this issue will be closed automatically.

Relevant logs and/or screenshots

image

image

Possible fixes

Edited by 🤖 GitLab Bot 🤖