Labels don't work well with subgroups
Problem
When the pajamas repo was moved to the subgroup gitlab-services
, all the labels were (for some reason) transformed into project labels. (This likely deserves more testing and an issue of its own).
This meant that there was a group level label and a project level label for every single label.
You can promote labels, but promoting the project level label moved it to the subgroup gitlab-services
and you cannot promote up again. This meant promoting would not solve the problem (we'd still be left with two duplicate labels).
In order to remove the project label, I had to go through the following process:
- rename the new project labels to have some identifying info at the end, say, '[project label]'
- filter for issues with the new project label
- bulk update them to add the group label
- delete the project label
This took hours, as there were six pages of labels to update.
The main group level labels do not show up on the project, likely because they are in a subgroup.
Improvements
Labels from parent groups should show up in projects, even if the project is within a subgroup. You should also be able to promote labels up multiple levels. And lately, moving a project within the same parent group should not convert all labels to project labels.