Sync project labels with admin area's labels
I've all my preferred labels in the admin area of gitlab (let's call them default labels). Afaik they will get used when a new project is created. But how can I apply them to existing projects? Now, if I want to have a new label in several of my projects, I have to go to each one and add them one by one - or am I overseeing something?
Basically I want to add and remove labels for multiple projects without going through each one.
To make this much easier a project setting would be nice to always use default labels. If it is checked, at least those default labels are available in the project. One can of course create more project labels for this one project, but the default labels are fixed. So I propose:
- Create a new project setting/checkbox
Use default labels
(or similar) - If checked, all default labels are always available in that project
- New project labels can still be created and removed for that one project
- If a new label is added as a default label, it is available in those projects with
Use default labels
checked - If an existing label is removed from default labels or the setting
Use default labels
is getting unchecked:- if the project has an issue tagged with that default label, the label is converted to a project label
- if the project never used this label, the label is simply gone
- If a new default label is created or the setting is getting checked for an existing project:
-
if there is already a project label with the same name as a default label, it is replaced by the default label (so the color might change)might be better to use the project label's color instead, so a default label never overwrites a project label (to keep the project fully customizable, even with some default labels)
-
Is this a viable approach for label management?