Fix referencing group work items
What does this MR do and why?
Fix referencing group work items
This fixes a bug where referencing a group work item caused a 500 error.
WorkItems are either on a project or a group, but we need to use
.namespace instead of .group in that case.
Changelog: fixed EE: true
References
Issue: #566150 (closed)
Screenshots or screen recordings
| Before | After |
|---|---|
How to set up and validate locally
- Create a new epic
- Navigate to the epic's edit page
- Add a reference to another epic in the description field (e.g., #123 (closed) or epic link)
- Click the Save button
MR acceptance checklist
Evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.
Edited by Nicolas Dular