A streamlined automation tool that copies a single GitHub issue into multiple repositories with consistency and control. It helps teams reuse issue templates, synchronize workflows, and scale issue management across repositories efficiently.
Created by Bitbash, built to showcase our approach to Scraping and Automation!
If you are looking for copy-github-issue you've just found your team — Let’s Chat. 👆👆
This project enables copying an existing GitHub issue into any number of target repositories while preserving key metadata. It solves the problem of manually recreating the same issue across repos and reduces errors in multi-repository workflows. It is designed for developers, maintainers, and organizations managing multiple GitHub repositories.
- Uses a single source issue as a reusable template
- Supports copying issues across personal or organization repositories
- Preserves labels and core issue content
- Prevents duplication by optionally skipping existing issues
- Works with standard GitHub authentication tokens
| Feature | Description |
|---|---|
| Issue Template Copying | Replicates a single issue into multiple repositories with identical content. |
| Label Preservation | Copies labels from the source issue to maintain categorization. |
| Duplicate Detection | Optionally checks for issues with the same title and skips them. |
| Multi-Repo Targeting | Allows selecting any number of destination repositories. |
| Secure Authentication | Uses GitHub Personal Access Tokens with issue permissions. |
| Field Name | Field Description |
|---|---|
| issueTitle | Title of the source GitHub issue. |
| issueBody | Full description and content of the issue. |
| labels | List of labels applied to the issue. |
| sourceRepository | Repository where the original issue exists. |
| targetRepository | Repository where the issue is copied. |
| issueUrl | URL of the newly created issue. |
| skippedDuplicate | Indicates whether the issue was skipped due to duplication. |
[
{
"issueTitle": "Bug: Login fails on mobile",
"sourceRepository": "org/main-repo",
"targetRepository": "org/mobile-repo",
"issueUrl": "https://github.com/org/mobile-repo/issues/42",
"labels": ["bug", "high-priority"],
"skippedDuplicate": false
}
]
Copy GitHub Issue/
├── src/
│ ├── index.ts
│ ├── githubClient.ts
│ ├── issueCopier.ts
│ └── duplicateChecker.ts
├── config/
│ └── settings.example.json
├── data/
│ └── sample-output.json
├── package.json
├── tsconfig.json
└── README.md
- Engineering teams use it to replicate bug reports across services, so they maintain consistent tracking.
- Open-source maintainers use it to copy template issues into multiple repositories, reducing manual work.
- DevOps teams use it to synchronize operational tasks across repos, improving coordination.
- Organizations use it to standardize issue workflows, ensuring uniform documentation.
What permissions are required for the GitHub token? The token must have read and write access to GitHub Issues for both the source and target repositories.
Can it copy issues across different organizations? Yes, as long as the authenticated account has access to all specified repositories.
Does it overwrite existing issues? No, it creates new issues and can optionally skip repositories where a duplicate title already exists.
Are comments also copied? This project focuses on copying the main issue content and labels, not existing comments.
Primary Metric: Copies an issue to a target repository in under 1 second on average.
Reliability Metric: Over 99% successful issue creation rate with valid permissions.
Efficiency Metric: Supports bulk copying to dozens of repositories with minimal API overhead.
Quality Metric: Ensures full preservation of titles, descriptions, and labels for consistent results.
