Error when attempting to mark an issue as being related to an archived issue

Summary

When I attempt to mark an issue as being related to another issue in an archived project, it fails to create the relation.

Steps to reproduce

  • Create a project
    • Create an issue in that project
    • Archive the project
  • Create another project
    • Create an issue in that project
    • Under the "Linked items" section, click Add, then paste the reference to the issue in the archived project, and click Add

Example Project

What is the current bug behavior?

GitLab outputs this error:

Couldn't link issue. You must have at least the Reporter role in both projects.

(That's incorrect, as I am the owner of both projects.)

What is the expected correct behavior?

I expect to be able to create relations to issues in archived projects.

Relevant logs and/or screenshots

Screenshot_2023-11-22_at_10.58.02

Output of checks

This bug happens on GitLab.com

Possible fixes