본문으로 건너뛰기
Skillpedia
배포 및 클라우드 (DevOps)40k · #7252

issue-fields-migration

하는 일

이 도구는 GitHub 이슈 안의 정보를 정리하도록 돕습니다. 기존 레이블이나 오래된 프로젝트 필드를 '우선순위'나 '유형' 같은 구조화되고 검색 가능한 필드로 바꿀 수 있습니다.

사용하는 경우

  • ✓프로젝트 레이블을 표준화된 필드로 정리하고 싶을 때.
  • ✓오래된 프로젝트에서 새 GitHub 필드로 데이터를 옮길 때.
  • ✓느슨한 레이블을 더 구조화된 정보로 바꾸고 싶을 때.

스킬 링크

https://github.com/github/awesome-copilot/blob/main/skills/issue-fields-migration/SKILL.md

복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.

사용 방법

가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.

바로 붙여넣을 수 있는 메시지

Use this skill to help me: https://github.com/github/awesome-copilot/blob/main/skills/issue-fields-migration/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
AI가 이런 스킬을 알아서 찾아 쓰길 원하시나요?무료 Skillpedia MCP를 설치하세요. 한 줄이면 작업마다 스킬 15,000+개 중에서 검색합니다.1분 만에 설치 →

AI에게 요청하는 예시

“저장소의 'bug'와 'feature' 레이블을 이슈 필드의 'Type' 필드로 옮기고 싶습니다.”

매주 새 스킬 5개. 읽는 데 1분.

작동 방식

도구는 기존 레이블이나 프로젝트 필드를 분석합니다. 그런 다음 이를 GitHub의 새 이슈 필드로 바꿔, 더 효율적으로 정리하고 찾을 수 있게 합니다.

기술 내용 (원본 SKILL.md)

작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.

Issue Fields Migration

Issue fields are org-level typed metadata (single select, text, number, date) that replace label-based workarounds with structured, searchable, cross-repo fields. Every organization gets Priority, Effort, Start date, and Target date preconfigured, with support for up to 25 custom fields.

This skill bulk-migrates existing metadata into issue fields from two sources:

  • Repo labels: Convert labels like p0, p1, priority/high into structured issue field values (e.g. the Priority field). Supports migrating multiple labels at once and optionally removing them after migration.
  • Project V2 fields: Copy field values (single select, text, number, date, iteration) from a GitHub Project into the equivalent org-level issue fields.

When to Use

  • User added org-level issue fields that overlap with existing project fields
  • User wants to copy values from project fields to issue fields before deleting the old project fields
  • User asks about "migrating", "transferring", or "copying" project field data to issue fields
  • User wants to convert repo labels (e.g., p0, p1, p2, p3) into issue field values (e.g., Priority field)
  • User asks about replacing labels with issue fields or cleaning up labels after adopting issue fields

Prerequisites

  • The target org must have issue fields enabled
  • The issue fields must already exist at the org level
  • For project field migration: issue fields must be added to the project
  • For label migration: labels must exist on the target repo(s)
  • The user must have write access to the repos (and project, if migrating project fields)
  • gh CLI must be authenticated with appropriate scopes

Available Tools

MCP Tools (read operations)

Tool Purpose
mcp__github__projects_list List project fields (list_project_fields), list project items with values (list_project_items)
mcp__github__projects_get Get details of a specific project field or item

CLI / REST API

Operation Command
List org issue fields gh api /orgs/{org}/issue-fields -H "X-GitHub-Api-Version: 2026-03-10"
Read issue field values gh api /repos/{owner}/{repo}/issues/{number}/issue-field-values -H "X-GitHub-Api-Version: 2026-03-10"
Write issue field values gh api /repositories/{repo_id}/issues/{number}/issue-field-values -X POST -H "X-GitHub-Api-Version: 2026-03-10" --input -
Get repository ID gh api /repos/{owner}/{repo} --jq .id
List repo labels gh label list -R {owner}/{repo} --limit 1000 --json name,color,description
List issues by label gh issue list -R {owner}/{repo} --label "{name}" --state all --json number,title,labels --limit 1000
Remove label from issue gh api /repos/{owner}/{repo}/issues/{number}/labels/{label_name} -X DELETE

See references/issue-fields-api.md, references/projects-api.md, and references/labels-api.md for full API details.

Workflow

Step 0: Migration Source

Ask the user what they are migrating:

  1. "Are you migrating labels or project fields?"

  2. If the user says labels:

    • Ask: "Which org and repo(s) contain the labels?"
    • Ask: "Which labels do you want to migrate?" (they can name them or say "show me the labels first")
  3. If the user says project fields:

    • Ask: "Can you share the link to your project or tell me the org name and project number?"
    • Ask: "Which field do you want to migrate?"

Label Migration Flow

Use this flow when the user wants to convert repo labels into issue field values. Labels can only map to single_select issue fields (each label name maps to one option value).

Phase L1: Input & Label Discovery

  1. Ask the user for: org name and repo(s) to migrate.
  2. Fetch labels from each repo:
gh label list -R {owner}/{repo} --limit 1000 --json name,color,description
  1. Fetch org issue fields:
gh api /orgs/{org}/issue-fields \
  -H "X-GitHub-Api-Version: 2026-03-10" \
  --jq '.[] | {id, name, content_type, options: [.options[]?.name]}'

…

자주 묻는 질문

'이슈 필드'란 무엇인가요?

조직 수준에서 쓰는 GitHub 필드로, 레이블만 쓰는 대신 우선순위, 날짜, 텍스트 같은 구조화된 메타데이터를 이슈에 추가할 수 있게 합니다.

어떤 종류의 레이블이든 옮길 수 있나요?

네, 저장소 레이블이나 프로젝트 필드 값을 옮길 수 있습니다. 도구는 이를 해당하는 이슈 필드에 대응시키도록 돕습니다.

이것을 하려면 특별한 권한이 필요한가요?

네, 옮기려는 저장소와 프로젝트에 대한 쓰기 권한이 필요하며, 조직에서 이슈 필드가 활성화되어 있어야 합니다.

상세 정보

작성자의 원본 설명

Bulk-migrate metadata to GitHub issue fields from two sources: repo labels (e.g. priority labels to a Priority field) and Project V2 fields. Use when users say "migrate my labels to issue fields", "migrate project fields to issue fields", "convert labels to issue fields", "copy project field values to issue fields", or ask about adopting issue fields. Issue fields are org-level typed metadata (sin

repo: github/awesome-copilot

인기도

GitHub 스타
40k
순위
#7252
라이선스
MIT
업데이트
2026. 10. 15.

이 스킬이 유용한가요?

0

로그인 투표하려면 로그인하세요.

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬