Fix N+1 in REST projects and service desk
What does this MR do?
In this MR we are fixing an N+1 in the /projects
REST endpoint when service desk is enabled.
Screenshots (strongly suggested)
Does this MR meet the acceptance criteria?
Conformity
-
📋 Does this MR need a changelog?-
I have included a changelog entry.
-
-
Code review guidelines -
Merge request performance guidelines -
Style guides -
Database guides -
Separation of EE specific content
Related to #21121 (closed)