Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

PR comments are displayed on incorrect lines (Bitbucket Server)

Bitbucket Server version 7.1.1.

The issue manifests on the Overview tab of a PR. A comment made on a certain line is displayed on the incorrect line on the Overview tab. On the Diff view, the comment is on the correct line.

I think this is happening when a comment is made on a custom diff (e.g. "changes since you last reviewed") and the comment is on a line that was not changed in that specific set of commits.

The overview tab recognizes that the comment was made on a specific commit, but it displays the comment on some seemingly random line.

Here is a specific example I ran into:

I add a comment on line 441 on the latest commit of the PR. There is a change on line 442, but line 441 has not been changed in this commit. The Diff view shows the commit correctly on line 441.

The Overview view shows the comment in the right commit, but it is located at line 461 of the file.

Anyone else running into this issue? If so, are there any workarounds (instead of manually adding the line number in the erroneous comment)? 

(I know I am a few versions behind, but my brief look through the release notes didn't reveal anything like this bug. That doesn't mean it isn't fixed in the latest release, though.)

2 answers

1 vote
Imran Khan Atlassian Team Sep 27, 2020

Hi @kylekaja123

Please raise a support request - https://support.atlassian.com. Team would be able to look into the specifics. 

Cheers,

Imran

For future reference / whoever is reading this: open issue for this is https://jira.atlassian.com/browse/BSERV-12652 and seems to be Windows-specific (along with a bunch of other issues, such as https://confluence.atlassian.com/bitbucketserverkb/intermittently-pull-request-merges-fail-to-delete-branch-with-error-replacing-packed-refs-permission-denied-1050543943.html). Atlassian has no work around for these problems...

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Bitbucket

New improvements to user management in Bitbucket Cloud 👥

Hey Community! We’re willing to wager that quite a few of you not only use Bitbucket, but administer it too. Our team is excited to share that we’ll be releasing improvements throughout this month of...

3,889 views 10 16
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you