Skip to content

PR migration: Missing line-level comments or approvals when events occur within the same second #1506

@qqwayne

Description

@qqwayne

Description

We are migrating repositories from Bitbucket Data Center to GitHub using GitHub Enterprise Importer (gh-gei). When the same user posts multiple comments or records an approval within the same second on a Bitbucket pull request, the following issues are observed in GitHub after migration:

File‑/line‑level comments: If multiple reviews or comments are created within the same second, only one comment is migrated; the others are not transferred.
Approvals paired with comments: When a Bitbucket pull request has both an approval and a single line‑level comment submitted by the same user in the same second, we’ve seen GitHub end up either with an approval history but no line‑level comment, or with the line‑level comment but no approval history.

Request

Please provide a solution or reliable workaround to handle these cases.

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