Skip to content

Instantly share code, notes, and snippets.

@cliffordp
Forked from slaFFik/bulk-transfer-gh-issues.sh
Created December 30, 2023 17:25
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save cliffordp/eefbdcb7ac91189a2ddb99c92662387b to your computer and use it in GitHub Desktop.
Save cliffordp/eefbdcb7ac91189a2ddb99c92662387b to your computer and use it in GitHub Desktop.
Open local repo to bulk transfer all its issues to a new repo: https://jloh.co/posts/bulk-migrate-issues-github-cli/
gh issue list -s all -L 500 --json number | \
jq -r '.[] | .number' | \
xargs -I% gh issue transfer % https://github.com/<destination repo>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment