issue-fields-migration
यह क्या करती है
यह टूल GitHub issues के अंदर की जानकारी को व्यवस्थित करने में मदद करता है। यह मौजूदा labels या पुराने project fields को संरचित और खोजे जा सकने वाले fields में बदल सकता है, जैसे 'Priority' या 'Type'।
कब इस्तेमाल करें
- ✓जब आप project labels को मानक fields में व्यवस्थित करना चाहते हों।
- ✓पुराने projects का डेटा नए GitHub fields में ले जाने के लिए।
- ✓ढीले labels की जगह ज़्यादा संरचित जानकारी लगाने के लिए।
Skill का लिंक
https://github.com/github/awesome-copilot/blob/main/skills/issue-fields-migration/SKILL.mdइसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।
कैसे इस्तेमाल करें
सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।
पेस्ट करने के लिए तैयार मैसेज
Claude Code, Codex या Cursor के लिए: प्रोजेक्ट फ़ोल्डर में चलाएँ और skill इंस्टॉल हो जाएगी।
SKILL.md डाउनलोड करें और अपने एजेंट के skills फ़ोल्डर में रखें।
AI से क्या माँगें: उदाहरण
“मैं अपनी repository के 'bug' और 'feature' labels को issue fields के 'Type' field में migrate करना चाहता हूँ।”
हर हफ़्ते 5 नई skills, 1 मिनट में पढ़ें।
यह कैसे काम करती है
टूल आपके मौजूदा labels या project fields का विश्लेषण करता है। फिर उन्हें GitHub के नए issue fields में बदल देता है, जिससे आप जानकारी ज़्यादा कुशलता से व्यवस्थित और खोज सकते हैं।
तकनीकी सामग्री (मूल 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/highinto 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)
ghCLI 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:
"Are you migrating labels or project fields?"
- Labels: proceed to the Label Migration Flow below.
- Project fields: proceed to the Project Field Migration Flow below.
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")
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
- Ask the user for: org name and repo(s) to migrate.
- Fetch labels from each repo:
gh label list -R {owner}/{repo} --limit 1000 --json name,color,description
- 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]}'
…
अक्सर पूछे जाने वाले सवाल
'issue fields' क्या हैं?
ये GitHub में organization स्तर के fields हैं, जो issues में सिर्फ़ labels इस्तेमाल करने के बजाय priority, तारीख या text जैसी संरचित जानकारी जोड़ने देते हैं।
क्या मैं किसी भी तरह का label migrate कर सकता हूँ?
हाँ, आप repository labels या project field की values migrate कर सकते हैं। टूल उन्हें संबंधित issue fields से मैप करने में मदद करता है।
क्या इसके लिए मुझे खास अनुमतियों की ज़रूरत है?
हाँ, जिन repositories और projects को migrate करना है उनमें write access होना चाहिए, और आपकी organization में issue fields चालू होने चाहिए।
जानकारी
लेखक का मूल विवरण
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
- अपडेट की गई
- 15/10/2026
कमेंट
- …
इस repository की और skills
acquire-codebase-knowledge
40kआपके एजेंट को किसी मौजूदा code प्रोजेक्ट को समझने और उसका documentation बनाने में मदद करता है। यह नए लोगों को प्रोजेक्ट से जोड़ने या architecture का सार जानने में उपयोगी है।
acreadiness-assess
40kआपके एजेंट को किसी प्रोजेक्ट की AI के लिए तैयारी जाँचने और रिपोर्ट बनाने देता है। यह समझने में उपयोगी है कि प्रोजेक्ट AI tools इस्तेमाल करने के लिए कितना तैयार है।
acreadiness-generate-instructions
40kआपके एजेंट को assessment के आधार पर AI tools के लिए निर्देश बनाने में मदद करता है। यह बताता है कि AI कोड के साथ बेहतर कैसे काम करे और पहचानी गई कमियाँ कैसे दूर हों।
acreadiness-policy
40kआपके एजेंट को AI प्रोजेक्ट assessment के लिए नीतियाँ तय करने या लागू करने में मदद करता है। यह प्रोजेक्ट्स के मूल्यांकन को मानक बनाने और compliance सुनिश्चित करने में उपयोगी है।
मिलती-जुलती skills
openclaw-update
394kयह आपके एजेंट को चल रहे OpenClaw Gateway को अपडेट करने में मदद करती है, इंस्टॉल के तरीके के अनुसार सही विधि चुनकर और सेशन बनाए रखकर।
diagnose-gateway
394kयह आपके एजेंट को सेटिंग्स, चैनल और पोर्ट जांचकर पता लगाने देती है कि OpenClaw Gateway क्यों फ़ेल हो रहा है, बिना कुछ बदले।
crabbox-apps
394kयह आपके एजेंट को किसी अस्थायी क्लाउड मशीन पर ऐप खोलने और चलाने देती है, फिर उसका व्यू आपके चैट के साइड पैनल में दिखाती है।