gh-issue-clone is a gh extension that allows users to clone (duplicate) GitHub issues from a given issue URL.
The tool fetches the details of a specified issue, optionally applies a different issue template, and creates a new issue in the target repository.
It can also add the new issue to project boards and copy over relevant field values.
- Clone a GitHub issue by providing its URL.
- Optionally specify an issue template to be used for the cloned issue.
- Automatically add the new issue to project boards and copy project field values.
Install muleyuck/gh-issue-clone extension from the gh command:
gh extension install muleyuck/gh-issue-clonegh issue-clone <issue-url> [--template <template-name>]<issue-url>: The URL of the GitHub issue to clone (e.g.,https://github.com/owner/repo/issues/123)--template,-t: (Optional) The name of the issue template to use for the new issue.
gh issue-clone https://github.com/octocat/Hello-World/issues/42 --template "bug_report"