Gitlab Migration: Import Group Labels
Problem
Migrate all group Label's using Group Migration (BulkImports)
Proposed Solution
Created Label pipeline to import all labels from a group. This will then be used to add the Epic Labels (#297460 (closed))
GraphQL Query:
query ($full_path: ID!, $cursor: String) {
group(fullPath: $full_path) {
labels(first: 100, after: $cursor) {
pageInfo {
endCursor
hasNextPage
}
nodes {
title
description
color
textColor
}
}
}
}
Documentation
Edited by Kassio Borges