{"id":21106994,"url":"https://github.com/buildo/gh-issue-mover","last_synced_at":"2025-07-08T16:31:27.648Z","repository":{"id":11037614,"uuid":"68095128","full_name":"buildo/gh-issue-mover","owner":"buildo","description":"A friendly CLI tool to migrate GitHub and GitHub Enteprise issues","archived":false,"fork":false,"pushed_at":"2022-12-06T11:19:00.000Z","size":242,"stargazers_count":7,"open_issues_count":11,"forks_count":10,"subscribers_count":5,"default_branch":"master","last_synced_at":"2023-04-10T01:35:01.307Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/buildo.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-09-13T09:39:02.000Z","updated_at":"2023-04-10T01:35:01.307Z","dependencies_parsed_at":"2023-01-11T20:15:39.132Z","dependency_job_id":null,"html_url":"https://github.com/buildo/gh-issue-mover","commit_stats":null,"previous_names":[],"tags_count":2,"template":null,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/buildo%2Fgh-issue-mover","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/buildo%2Fgh-issue-mover/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/buildo%2Fgh-issue-mover/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/buildo%2Fgh-issue-mover/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/buildo","download_url":"https://codeload.github.com/buildo/gh-issue-mover/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":225449667,"owners_count":17476094,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-20T00:35:10.324Z","updated_at":"2024-11-20T00:35:11.000Z","avatar_url":"https://github.com/buildo.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![npm](https://img.shields.io/npm/v/gh-issue-mover.svg)](https://www.npmjs.com/package/gh-issue-mover)\n\n# 🚚  gh issue mover\nA friendly CLI tool to migrate issues across GitHub and GitHub Enteprise repos.\n\n## Features\n\n- migrate issues one by one or in bulk using labels\n- include comments, labels and assignees in the migration\n- include references to the original issue and author\n- close the original issue with a link to a new one\n- works with both (and across) GitHub and GitHub Enterprise\n\n## Example\n\n| original issue  |  migrated issue |\n|:---------------:|:---------------:|\n| ![image](https://github.omnilab.our.buildo.io/storage/user/3/files/70e73c9e-7a5b-11e6-8cb3-00dc048ce0d7) | ![image](https://github.omnilab.our.buildo.io/storage/user/3/files/5bfe83be-7a5b-11e6-88ce-97ff474a687e) |\n\n## Usage\n\nInstall from npm:\n\n```sh\nnpm install -g gh-issue-mover\n```\n\nThen create configuration file (e.g. `config.json`) that contains two keys `fromRepo` and `toRepo`:\n\n```json\n{\n  \"fromRepo\": {\n    \"owner\": \"buildo\",\n    \"name\": \"aliniq\",\n    \"token\": \"1231231231231231231231231231231231231213212312\",\n    \"rootURL\": \"https://github-enterprise.example.com/api/v3\"\n  },\n  \"toRepo\": {\n    \"owner\": \"buildo\",\n    \"name\": \"ams\",\n    \"token\": \"1231231231231231231231231231231231231213212312\",\n    \"rootURL\": \"https://github-enterprise.example.com/api/v3\"\n  }\n}\n```\n\n`owner` and `name` indentify the repos you want to migrate the issue to/from.\n\n`token` must be a github token with read permissions on the `fromRepo` and write permissions on `toRepo`.\n\n`rootURL` is the GitHub API endpoint (only required for GitHub Enterprise repos)\n\nOnce you have a valid `config.json`, run\n\n```sh\ngh-issue-mover --config=config.json\n```\n\nand follow the interactive prompt.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbuildo%2Fgh-issue-mover","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbuildo%2Fgh-issue-mover","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbuildo%2Fgh-issue-mover/lists"}