Open-Awesome
CategoriesAlternativesStacksSelf-HostedExplore
Open-Awesome

© 2026 Open-Awesome. Curated for the developer elite.

TermsPrivacyAboutGitHubRSS
  1. Home
  2. GitHub
  3. github-issues-import

github-issues-import

MITPython

A Python script to import issues and pull requests from one GitHub repository to another, even across unrelated private repos.

Visit WebsiteGitHubGitHub
428 stars170 forks0 contributors

What is github-issues-import?

GitHub Issues Import is a Python script designed to migrate issues, pull requests, and associated metadata from one GitHub repository to another. It solves the problem of consolidating or transferring issue tracking data during repository migrations, merges, or archival, even when repositories are unrelated or private.

Target Audience

Developers, repository maintainers, and DevOps engineers who need to move issue tracking data between GitHub repositories, such as during project consolidation, migration to a new organization, or when archiving old projects.

Value Proposition

It provides a straightforward, scriptable solution for GitHub issue migration without requiring manual copy-pasting, preserving comments, labels, and milestones while handling authentication for private repos.

Overview

Python script to import issues from one repository into another, either one at a time or all of them at once.

Use Cases

Best For

  • Migrating issue history when moving a project to a new GitHub repository
  • Consolidating issues from multiple repositories into a single one
  • Archiving old projects while preserving their issue tracking data
  • Transferring issues between unrelated private repositories
  • Automating issue migration during repository merges or splits
  • Preserving pull request discussions as issues in a new repository

Not Ideal For

  • Teams requiring real-time, bidirectional synchronization of issues between repositories
  • Projects that need to preserve pull requests as functional pull requests with code diffs and merge capabilities
  • Organizations with strict security policies that prohibit any plain-text credential storage
  • Users who prefer a graphical user interface or web-based dashboard for migration tasks

Pros & Cons

Pros

Cross-Repository Flexibility

It transfers issues between any two GitHub repositories, even unrelated or private ones, as highlighted in the README, making it versatile for various migration scenarios.

Metadata Preservation

Imports comments, labels, and milestones, creating them in the target repository if they don't exist, ensuring historical context is maintained during migration.

Configurable Import Options

Supports importing all issues, only open issues, or specific issue numbers via command-line arguments like --open or --issues, offering granular control.

Customizable Templates

Uses editable Markdown templates for issue formatting, allowing users to tailor the appearance and content of imported issues to fit their needs.

Cons

Pull Request Limitations

Pull requests are imported as issues without code diffs or pull request functionality, requiring manual effort to integrate the suggested code, as admitted in the README.

Comment Attribution Issues

All imported comments are attributed to a single account specified in the config, with original authors only mentioned in text headers, losing genuine authorship.

Security Risks with Credentials

The default configuration stores passwords in plain-text files, posing a security vulnerability, though the README warns about this and suggests using command-line arguments.

One-Time Migration Only

It lacks support for ongoing synchronization or updates after import, making it unsuitable for scenarios requiring continuous data flow between repositories.

Frequently Asked Questions

Quick Stats

Stars428
Forks170
Contributors0
Open Issues39
Last commit3 years ago
CreatedSince 2013

Tags

#devops#repository-management#data-import#open-source-tools#automation#python-script#github

Built With

P
Python

Links & Resources

Website

Included in

GitHub949
Auto-fetched 23 hours ago

Related Projects

GitHub Cheat SheetGitHub Cheat Sheet

A list of cool features of Git and GitHub.

Stars57,261
Forks5,422
Last commit2 years ago
HubHub

A command-line tool that makes git easier to use with GitHub.

Stars22,951
Forks2,216
Last commit2 years ago
GitHub DarkGitHub Dark

:octocat: Dark GitHub style

Stars9,908
Forks648
Last commit3 days ago
A collection of awesome browser extensions for GitHub.A collection of awesome browser extensions for GitHub.

A collection of awesome browser extensions for GitHub.

Stars3,267
Forks203
Last commit1 year ago
Community-curated · Updated weekly · 100% open source

Found a gem we're missing?

Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.

Submit a projectStar on GitHub