Skip to content

Add support for legacy epic references in workItemsByReference query

What does this MR do and why?

This MR adds support for searching work item epics using the legacy reference or URL

MR acceptance checklist

Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.

Screenshots or screen recordings

Search by URL

Before After
search_by_URL_before search_with_URL

Search by reference

Before After
search_by_ref_before search_with_reference

How to set up and validate locally

  1. Enable feature flag namespace_level_work_items
  2. Create an epic (Epic A) in a group and two epics (Epic B and Epic C) in a different group
  3. Visit Epic A using the work item view, e.g. http://127.0.0.1:3000/groups/GROUP_PATH/-/work_items/EPIC_A_IID and use the Epic B's legacy URL to add it as a child
  4. Repeat step 3 using Epic C reference instead of the URL

Screen_Recording_2024-06-28_at_17.23.26

Related to #469494 (closed)

Merge request reports