Created
April 7, 2026 04:12
-
-
Save zolotokrylin/6b81eee7eb7ad22154cdde1186316f45 to your computer and use it in GitHub Desktop.
Transfer all issues from SOURCE into DEST repo
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| SOURCE_REPO="holdex/wizard-browser-extension" | |
| DEST_REPO="holdex/wizard" | |
| # Pipe the list directly into a while loop | |
| gh issue list --repo "$SOURCE_REPO" --limit 1000 --state all --json number --jq '.[].number' | while read -r issue_num; do | |
| if [ -n "$issue_num" ]; then | |
| echo "Transferring issue #$issue_num..." | |
| gh issue transfer "$issue_num" "$DEST_REPO" --repo "$SOURCE_REPO" | |
| sleep 1 | |
| fi | |
| done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment