Skip to content

Allow querying work items by reference at group level

What does this MR do and why?

Related to #461630 (closed)

With Add support for parsing work item references at... (#432555 - closed) completed we can now enable the query workItemsByReference to accept a group path. This will allow us to find any work item using a short reference (e.g. group1#1) or URL in the Child items and Linked Items widgets of a work item epic.

Screenshots or screen recordings

Before After
before after

How to set up and validate locally

  1. Enable the feature flag :namespace_level_work_items and disable :make_synced_work_item_read_only

    Feature.enable(:namespace_level_work_items)
    Feature.disable(:make_synced_work_item_read_only)
  2. Visit any group and create a work item epic (e.g. http://127.0.0.1:3000/groups/flightjs/-/work_items/new)

  3. Verify that work items can be found using their reference or URL in the Child items and Linked Items widgets

Screenshot_2024-06-19_at_15.38.10Screenshot_2024-06-19_at_15.38.01

Edited by Eugenia Grieff

Merge request reports