Skip to main content
ドキュメントには頻繁に更新が加えられ、その都度公開されています。本ページの翻訳はまだ未完成な部分があることをご了承ください。最新の情報については、英語のドキュメンテーションをご参照ください。本ページの翻訳に問題がある場合はこちらまでご連絡ください。

Transferring an issue to another repository

To move an issue to a better fitting repository, you can transfer open issues to other repositories.

To transfer an open issue to another repository, you must have write access to the repository the issue is in and the repository you're transferring the issue to. For more information, see "Repository roles for an organization."

Note: You can only transfer issues between repositories owned by the same user or organization account. A private repository issue cannot be transferred to a public repository.

When you transfer an issue, comments, labels and assignees are retained. The issue's milestones are not retained. This issue will stay on any user-owned or organization-wide project boards and be removed from any repository project boards. For more information, see "About project boards."

People or teams who are mentioned in the issue will receive a notification letting them know that the issue has been transferred to a new repository. The original URL redirects to the new issue's URL. People who don't have read permissions in the new repository will see a banner letting them know that the issue has been transferred to a new repository that they can't access.

Transferring an open issue to another repository

  1. GitHub Enterprise Serverインスタンスで、リポジトリのメインページにアクセスしてください。
  2. リポジトリ名の下で、クリックします Issues Issueタブ
  3. In the list of issues, click the issue you'd like to transfer.
  4. In the right sidebar, click Transfer issue. Button to transfer issue
  5. Use the Choose a repository drop-down menu, and select the repository you want to transfer the issue to. Choose a repository selection
  6. Click Transfer issue. Transfer issue button

To learn more about GitHub CLI, see "About GitHub CLI."

To transfer an issue, use the gh issue transfer subcommand. Replace the issue parameter with the number or URL of the issue. Replace the hostname/owner/repo parameter with the URL of the repository that you want to transfer the issue to, such as https://ghe.io/octocat/octo-repo.

gh issue transfer issue hostname/owner/repo

Further reading