Skip to content
Snippets Groups Projects

Promote project labels to group labels

Worked live with @DouweM / @smcgivern for the initial spike.

What does this MR do?

Gives the ability for the Group Admin to promote Project Labels to Group Labels.

Are there points in the code the reviewer needs to double check?

  • Icon for the promote action is needed in the Project's Labels list
  • Labels from all the issues before promotion should be updated to point to the new one
  • All the labels from Projects inside the Group with the same name should be merged into the new Group Label
  • Label promotion requires ability to edit all the projects inside the group, Group Admin permissions is required
  • Are the label priorities in each project are the same as before merge
  • optional: How to resolve description during project merges. My solution for now will be - use the one which had the promote button pressed.

Does this MR meet the acceptance criteria?

Screenshot

Feature preview

What are the relevant issue numbers?

Closes #24021 (closed)

Merge request reports

Pipeline #6123038 passed

Pipeline passed for 5d871dcc on ritave:24021-Migrate-Projects-Labels-to-Group-Labels

Merged by avatar (Jan 14, 2025 11:34am UTC)

Loading

Pipeline #6124977 passed with warnings

Pipeline passed with warnings for 86af3ed5 on master

Test coverage 92.78% from 0 jobs

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
Please register or sign in to reply
Loading