Skip to content

Change workItemQuery name and fix some queries

Deepika Guliani requested to merge dg-rename-workitem-query into master

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
Screenshot_2024-05-22_at_9.09.03_AM Screenshot_2024-05-22_at_9.10.32_AM

How to set up and validate locally

Numbered steps to set up and validate the change are strongly suggested.

  1. Enable the FF namespace_level_work_items
  2. 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)
  3. Check the queries in the console
  4. The query "groupNamespaceLevel" should be renamed to "groupWorkItem" and the "projectWorkItemTypes" query should not be fired in the group context
  5. Iteratively , also check the project level work item and see that a "key result" is able to be promoted to "objective"

Merge request reports