Backfill custom_status in work_items index
Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.
Problem to solve
Supporting the work items custom status implementation for advanced search: &17575 (comment 2480612473)
New fields must be backfilled in Advanced search to support filtering work items by custom status
Proposal
Follow the documentation on how to backfill fields in the work_items index
field | type |
---|---|
system_defined_status_id |
long |
custom_status_id |
long |
status_name |
keyword |
References
- https://docs.gitlab.com/development/advanced_search/#adding-a-field
- Since
system_defined_status_id
orcustom_status_id
fields might be null on some records, use theSearch::Elastic::MigrationReindexBasedOnSchemaVersion
migration helper
Edited by 🤖 GitLab Bot 🤖