Allow querying work items by reference at group level
requested to merge 461630-allow-adding-legacy-issues-as-child-of-epic-work-item-via-hierarchy-widget into master
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
-
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)
-
Visit any group and create a work item epic (e.g.
http://127.0.0.1:3000/groups/flightjs/-/work_items/new
) -
Verify that work items can be found using their reference or URL in the Child items and Linked Items widgets
Edited by Eugenia Grieff