Clear list of labels in project
Problem to solve
GitLab has a instance wide list of default labels, that are copied into a new project when it gets created. This is a good approach for the majority of projects. But some projects - especially issue-only projects - need a completely different set of labels. Deleting labels one-by-one is a very time consuming process. But this is needed to have an empty list of labels, so one can create a new label set for that special (issue-only) project.
Further details
My GitLab instance has around 4 pages of default labels that get deployed to a new project.
Besides normal code projects, we have several issue-only projects:
- Procurement
- Facility Management
- Customer Projects (list of all upcoming and active projects)
- Quality Management (list to track improvements in QM / company processes)
These projects don't need a GCC
or Bug: Confirmed
label, but things like Back Office
, QM
, HR
, ordered
, on delivery
, ...
When a new projects gets created, I need to manually delete all labels before I can create new matching labels.
Proposal
Add three buttons or an advanced drop-down settings dialog to:
- delete all labels / clear list
- merge current set with default list (add new labels, update colors, update lower/upper-case)
- if empty, apply default labels from instance
Optional:
- clone labels from another project (template project?)
What does success look like, and how can we measure that?
- allow clearing the list of project labels
Links / references
- gitlab-ce#52352 (This proposal incorporates a solution to a previously reported bug.)
/cc @jeremy_ as it seams to be about manage