Skip to content

Preserve Pull Request State (Draft/Open/Closed) When Migrating from Bitbucket #1505

@sukumarp2022

Description

@sukumarp2022

Description

Currently, when migrating repositories from Bitbucket Server or Data Center to GitHub using GitHub Enterprise Importer (gh-gei), the documentation states that pull requests are migrated (including comments, reviews, required reviewers, and attachments), but it does not clarify whether the pull request state—specifically, whether a PR is a draft, open, or closed—is always preserved.

Draft pull requests are particularly important in some workflows, and Bitbucket Server has only recently added similar concepts. There is uncertainty if the draft status is reliably mapped from Bitbucket to GitHub. While open and closed PR status seems to be preserved, draft PR status may not be, and this is not explicitly documented.

Feature Request:

  • Please clearly document whether the importer preserves the draft/open/closed state of pull requests when migrating from Bitbucket.
  • If draft PR preservation is not currently supported due to technical or mapping limitations, please consider implementing this, or provide guidance for users seeking this fidelity.
  • Ensuring this clarity will help teams plan PR migrations and reduce the need for post-migration manual corrections.

Thank you!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions