batch-issue-cloner
v1.1.1
Published
Batch copy issues from one GitHub repository to another
Downloads
56
Readme
Batch Issue Cloner
This package automates bulk exporting and importing issues with the GitHub CLI (gh
).
Features
- Export issues from one GitHub repository to a JSON file.
- Import issues from a JSON file to another GitHub repository.
- Specify source and destination repositories on the command line.
- Clone labels that don't exist on the destination repository.
- Only copy issues that don't already exist on the destination repository (based on title).
Prerequisites
gh
(GitHub CLI) must be installed and authenticated on your system:
brew install gh
Install
npm install batch-issue-cloner
Use
npx batch-issue-cloner --source <source-repo> --destination <destination-repo>
Notes
- Check that
gh
is logged into the GitHub account with access to both the source and destination repositories. - Source and destination json files are automatically created and used within the script. Ensure the directory has write permissions.