Update milestone reports links to work items

Issue: Milestone report updates needed with introducti... (#537770 - closed)

What does this MR do and why?

This code refactors how milestone pages handle navigation paths and icons for issues and work items.

  • Displays either a "work-items" or "work-item-issue" icon for work items on the milestone page depending on the feature flag.
  • Updates nav for Open/Closed items on milestones page to relevant group/project work items page
  • Updates nav for View All link to relevant group/project work items page

References

Acceptance Criteria

  • Update the list headers (underneath Tabs) to use the work-items icon rather than the issues icon.
  • Update the links that navigate to the list page to use the work items list
    • In the right sidebar the links for "Open" & "Closed" (under Work items) should navigate to the work item list (and use associated filters).
    • When items within "Work items" Tab is greater than 500, the alert we show which includes a "View all" link should go to the work item list.
    • Verify there are no other links to the legacy list view

Screenshots or screen recordings

Icons

Before After
Screenshot_2025-11-28_at_3.58.07_PM Screenshot_2025-11-28_at_3.58.41_PM

(Group Milestone) Open/Closed issues link

  • NOTE: Consolidated list shows both group epics and issues created within the milestone
Before After
Screenshot_2025-11-28_at_4.10.51_PM Screenshot_2025-11-28_at_4.10.09_PM

(Project Milestone) Open/Closed issues link

  • NOTE: Consolidated list shows both group epics and issues created within the milestone
Before After
Screenshot_2025-11-28_at_4.13.06_PM Screenshot_2025-11-28_at_4.13.54_PM

View All Link

Link
Screenshot_2025-11-28_at_4.16.38_PM
Consolidated List
Screenshot_2025-11-28_at_4.16.57_PM

How to set up and validate locally

  1. Turn on FF work_item_planning_view
  2. Create a group milestone
  3. Create a project milestone
  4. Assign some issues to these milestones
  5. Go to either group/project milestone overview page
  6. Check that the Open/Closed work items links on the right sidebar navigate to the work items consolidated list page with the appropriate filters
  7. Check that the icons are updated for the work item cards and in the right sidebar as well

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 Daniyal Arshad

Merge request reports

Loading