Notes links on issues/epics should directly to work_items
What does this MR do and why?
Transform /issues and /epics URLs to /work_items when the work_items_consolidated_list feature is enabled at the project or group level.
- Update routing helpers to check feature flag
- Transform issue and epic URLs in Gitlab::UrlBuilder
- Apply transformation to notes on issues and epics
- Add comprehensive specs for URL transformation logic
The feature is controlled by work_items_consolidated_list_enabled? method which checks the work_item_planning_view feature flag.
Screenshots or screen recordings
| Before | After |
|---|---|
| Screen_Recording_2025-12-10_at_3.52.15_PM | Screen_Recording_2025-12-10_at_3.49.27_PM |
How to set up and validate locally
- Enable
Feature.enable(:work_item_planning_view) - Go to issue or epic
- Create a note
- Copy the note url
- Verify if it is /work_items and not /issues or /epics
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.
Related to #582959
Edited by Vedant Jain