Skip to content

Instantly share code, notes, and snippets.

@fredguth
Created August 17, 2022 15:04
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 fredguth/3d8b0c2beacd28e3c02ec41b54049fa7 to your computer and use it in GitHub Desktop.
Save fredguth/3d8b0c2beacd28e3c02ec41b54049fa7 to your computer and use it in GitHub Desktop.
Transfer issues between repos in Github
gh issue transfer <issue ID> <destination repo>
So a few shell pipes later and we have this:
gh issue list -s all -L 500 --json number | \
jq -r '.[] | .number' | \
xargs -I% gh issue transfer % https://github.com/<destination repo>
@fredguth
Copy link
Author

gh issue list -s all -L 500 --json number |
jq -r '.[] | .number' |
xargs -I% gh issue transfer % https://github.com/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment