Merge request is not linked to the issue

:hugs: Please help fill in this template with all the details to help others help you more efficiently. Use formatting blocks for code, config, logs and ensure to remove sensitive data.

Problem to solve

If I link an issue in a merge request, the MR is not linked to the issue. Only after editing and saving the MR again, the MR is linked to the issue. Months ago it works still correctly.

Versions

Please select whether options apply, and add the version information.

  • Self-managed
  • GitLab.com SaaS
  • Dedicated
  • Self-hosted Runners

Versions

  • GitLab: v17.9.1-ee
  • GitLab Runner, if self-hosted (Web /admin/runners or CLI gitlab-runner --version):