This tool is designed to clone GitHub issues from one repository to another. It copies issues along with their comments and other details, allowing you to replicate issue tracking between repositories.
- Clone issues from one repository to another
- Copy issue comments and labels
- Supports both open and closed issues
Before you begin, ensure you have the following:
- Python 3.x installed
requestslibrary installed (pip3 install requests)dotenvlibrary installed (pip3 install python-dotenv)- A GitHub personal access token with the
reposcope
- Install and Clone the Repository
git clone https://github.com/yourusername/issue-cloning-tool.git cd issue-cloning-tool - Create PAT
Create a github personal access token by going to profile > settings > developer settings > tokens > create
create an .env file with ```bash touch .env
GITHUB_TOKEN=your_personal_access_token
- Enter Repo Names
Add source and destination repos to the .env file
SOURCE_REPO=owner_name/your_source_repo DEST_REPO=owner_name/your_destination_repo
- Run the Script Run with python3 cloner.py