Skip to content

Add changes to use work_item in epic

Siddharth Dungarwal requested to merge 480118-use-work_items-for-epics into master

What does this MR do and why?

I have added the WorkItemGroupQueryBuilder class and kept it behind search_epics_uses_work_items_index to power epics search using work_items index.

I plan to add changes related to aggregations in a follow-up MR and enable the ff once both the MRs are merged.

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.

Search Type Result
Global Search with ff off image
Group Search with ff off image
Global Search with ff on image
Group Search with ff on image

How to set up and validate locally

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

  1. Make sure you have advanced search enabled.
  2. Enable the ff search_epics_uses_work_items_index
  3. Then do a epics search and notice in the query from performance bar you have the search going to work_items index instead of the issues index in elasticsearch.
  4. Test the scenarios with and without ff for global and group search.

Related to #480118 (closed)

Edited by Siddharth Dungarwal

Merge request reports

Loading