Change workItemQuery name and fix some queries
What does this MR do and why?
This MR changes the name of the work item query so avoid confusion and also remove extra "projectWorkItemTypes" query in "group" context
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
Screenshots are required for UI changes, and strongly recommended for all other merge requests.
Before | After |
---|---|
How to set up and validate locally
Numbered steps to set up and validate the change are strongly suggested.
- Enable the FF
namespace_level_work_items
- Go to any group level work item ( go to
http://127.0.0.1:3000/groups/flightjs/-/work_items
and open an existing work item or create one) - Check the queries in the console
- The query "groupNamespaceLevel" should be renamed to "groupWorkItem" and the "projectWorkItemTypes" query should not be fired in the group context
- Iteratively , also check the project level work item and see that a "key result" is able to be promoted to "objective"