github / github/gh-gei

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

Open
#1,506 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
C#
Stars
478
Forks
146
Avg merge
7d 21h
Merged PRs (30d)
2

Description

### 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!

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.