Add changes for removing duplicate work items
What does this MR do and why?
This MR makes sure that the group transfers maintain integrity for the work item documents.
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 |
---|---|
How to set up and validate locally
Numbered steps to set up and validate the change are strongly suggested.
- Create work_item one
issue
and oneepic
type. - Check on the Elastic it is indexed.
- Now transfer the group to a different namespace.
- Check on Elastic that no document has a duplicate.
- Make sure to repeat the steps with the sub groups (i.e create a new sub group having issue and epic type work items)
- Transfer them also in other groups or to other sub groups and see that no document has a duplicate.
Related to #443775 (closed)
Edited by Siddharth Dungarwal