Skip to content

Add migration to add_work_item_type_id to issues index

Siddharth Dungarwal requested to merge 430149-add-work-item-type-id into master

What does this MR do and why?

1st Part of 3 MRs as mentioned here

Added a migration to add a new field to the issues index: work_item_type_id and populate the field if migration is completed.

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.

  1. Ensure elasticsearch is enabled
  2. Now create a new issue
  3. Go to elasticsearch and then query for the issue and make sure that the work_item_type_id is present in the document

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 #430149 (closed)

Edited by Siddharth Dungarwal

Merge request reports

Loading