Skip to content

CLI to transfer issues from one repository to another with meta data such as issues, labels, etc

License

Notifications You must be signed in to change notification settings

gr2m/transfer-issues

Repository files navigation

transfer-issues

CLI to transfer issues from one repository to another with meta data such as issues, labels, etc

GITHUB_TOKEN="..." SOURCE_REPO=gr2m/source-repo TARGET_REPO=gr2m/target-repo npx transfer-issues

See gr2m/helpdesk#20 for more information about this repository and its motivation.

How it works

It loads all issues and the relevant meta data from the source repository (graphql query and the target repository (graphql query) and transfers every issue one-by-one using the transferIssue mutation (graphql mutation).

It makes sure both issues and milestones that are assigned to the issue in the source repository exist in the target repository and assignes them after the transfer

License

ISC

About

CLI to transfer issues from one repository to another with meta data such as issues, labels, etc

Resources

License

Code of conduct

Stars

Watchers

Forks

Sponsor this project

 

Packages

No packages published