Skip to content

Fix members autocomplete sources for group level work items

What does this MR do and why?

Change QuickActions::TargetService to work with group level work item. Not adding changelog as the feature is still behind a feature flags

How to set up and validate locally

  1. Enable namespace_level_work_items feature flag in Rails console Feature.enable(:namespace_level_work_items)
  2. Create a group level epic at http://localhost:3000/groups/flightjs/-/work_items
  3. Request members autocomplete sources at http://localhost:3000/groups/flightjs/-/autocomplete_sources/members?type=WorkItem&type_id=<iid_of_the_created_epic>
  4. Before this change you would get an error, now you should get a successful response

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Related to #435403 (closed)

Edited by Mario Celi

Merge request reports

Loading