GitLab Migration - Top-level group name not migrated correctly

Summary

When using GitLab Group Migration and migrating groups and subgroups, the top-level group's name is not correctly migrated.

Steps to reproduce

  1. Create a top-level group with subgroups
  2. Give the top-level group a name with capital letters and spaces (i.e. "My Group")
  3. Migrate the top-level group using GitLab Group Migration into a top-level group in the destination instance
  4. Notice that the top-level group name has been replaced with the URL path for the group (i.e. "my-group")

Also reproduced in this video: https://youtu.be/hxiR-wRUChQ?t=271

What is the current bug behavior?

The migrated group name is replaced with the URL path.

What is the expected correct behavior?

The migrated group name should be preserved (migrated) verbatim.

Relevant logs and/or screenshots

Before migration:

image

After Migration:

image

Additional context

It is noteworthy that the target group name is explicitly specified when importing a group from a file, while it is expected that it would be copied over when using Group Migration.

Edited by Haris Delalić