Labels of an issue get deleted when moving the issue
Summary
When moving an issue with labels (labels that come from an ancestor group) from one subgroup to another subgroup the labels are deleted in the moved issue.
Steps to reproduce
Create a group. Create a group label. create subgroups with projects. Create an issue in a project and assign the label you created in the ancestor group. Move the issue to a different project in a different subgroup.
Example Project
Ancestor group: https://gitlab.com/ancestor_group
Issue with ancestor group label: https://gitlab.com/ancestor_group/subgroup1/project_1/issues/1
Moved Issue (without label!): https://gitlab.com/ancestor_group/subgroup2/project_2/issues/1
What is the current bug behavior?
The moved issue has no assigned labels
What is the expected correct behavior?
The label should be also assigned to the moved issue
Output of checks
This bug happens on GitLab.com
Edited by D Knuth