Skip to content
This repository was archived by the owner on May 1, 2026. It is now read-only.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

116 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GitHub Issue Copier

A GitHub CLI extension to copy GitHub Issues from one repository to another based on a specified label.

Prerequisites

Installation

  1. Make sure you have the GitHub CLI installed.
  2. Install the gh extension from the repository with command: gh extension install thetechcollective/gh-cpissues

Usage

gh cpissues <git-repo> --label <label> [--verbose]

Replace '<git-repo>' with the target repository where you want to copy the issues and '<label>' with the label of the issues you want to copy.

[--verbose]: (Optional) Include this flag to get more detailed output about the operation. This can be helpful for debugging or understanding the process in more detail.

Options

  • <git-repo>: The target repository in the format '<owner>/<repository>'.
  • --label <label>: Specify the label of the issues to copy.
  • --verbose': Include it in your command if you want more detailed output. Will keep the .tmp and .json file.

Example

gh cpissues thetechcollective/dx-intro --label template 

This command will copy all issues labeled "template" from the repository "thetechcollective/dx-intro" to the current repository.

Notes

  • This script uses the GitHub CLI ('gh') to interact with GitHub repositories.
  • Issues are copied with their title and body intact.
  • If an issues with the same title already exists in the target repository, it wont be copied again.

About

A gh extension used to copy issues from one repo to another

Resources

Contributing

Stars

2 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages