Skip to content

Conditionally use `Closes` depending on autoclose

What does this MR do?

In !21704 (merged) auto close was added as a configuration. When this is deactivated, we still appended "Closes ". This changes it to "Related to ".

Screenshots

Before After
Screen_Shot_2020-03-25_at_8.57.29_AM Screen_Shot_2020-03-25_at_8.57.04_AM

Does this MR meet the acceptance criteria?

Conformity

Availability and Testing

Security

If this MR contains changes to processing or storing of credentials or tokens, authorization and authentication methods and other items described in the security review guidelines:

  • [-] Label as security and @ mention @gitlab-com/gl-security/appsec
  • [-] The MR includes necessary changes to maintain consistency between UI, API, email, or other methods
  • [-] Security reports checked/validated by a reviewer from the AppSec team

Issue #19754 (closed)

Edited by 🤖 GitLab Bot 🤖

Merge request reports