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
- Enable
namespace_level_work_items
feature flag in Rails consoleFeature.enable(:namespace_level_work_items)
- Create a group level epic at http://localhost:3000/groups/flightjs/-/work_items
- Request members autocomplete sources at http://localhost:3000/groups/flightjs/-/autocomplete_sources/members?type=WorkItem&type_id=<iid_of_the_created_epic>
- 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.
-
I have evaluated the MR acceptance checklist for this MR.
Related to #435403 (closed)
Edited by Mario Celi