1.2 KiB
1.2 KiB
GitHub Issue Import Instructions
This file explains how to import SPRINT-TICKETS-ISSUES.json into GitHub as issues. Use one of the following approaches depending on your permissions.
Option A — Use GitHub Issues Importer (web):
- Go to https://github.com///issues/import (you must have admin permissions).
- Upload
SPRINT-TICKETS-ISSUES.json. - Map fields as needed and start import.
Option B — Use GitHub CLI (scripted):
- Install GitHub CLI and authenticate:
gh auth login - Run a small script to create issues. Example (bash):
cat SPRINT-TICKETS-ISSUES.json | jq -c '.[]' | while read item; do
title=$(echo "$item" | jq -r '.title')
body=$(echo "$item" | jq -r '.body')
labels=$(echo "$item" | jq -r '.labels | join(",")')
gh issue create --title "$title" --body "$body" --labels "$labels"
done
Option C — Use API (programmatic):
- Use the REST API
POST /repos/{owner}/{repo}/issuesfor each item in the JSON. Requires a token withreposcope.
Notes
- After import, assign owners and milestones per sprint.
- If you want, I can run the import for you (requires an authenticated session/permissions). Ask "create GH issues" to proceed and I’ll outline next steps for authentication.