Update Elasticsearch work items fields from integer to long
Description
We need to update the work items mapping and indexed documents from integer to long using an Elasticsearch migration to match the PostgreSQL database types.
We should do another attempt similar to the previous that we reverted for different reasons:
-
!189044 (merged) reverted !189914 (merged), and then we removed the remaining documents containing the
correct_work_item_type_idfield causing the issue !190211 (merged). - !190508 (merged) reverted !191483 (merged). The document counts were different, and we need to determine the reasons with #543158 (closed).
Work item is the last document type we should update, as we have already updated the incorrect types of the others as part of #502817 (closed).
Reference:
Edited by 🤖 GitLab Bot 🤖