Is there a way to view comments in a BitBucket pull request? It seems that BitBucket automatically hides comments that it thinks are outdated. Is there a way to overcome this behavior?
Hello @James Pragit and thank you for reaching out to Community!
An inline comment in a pull request will be marked as outdated if the section where the comment was originally made in the file has changed. For example, if you add a comment in line 14 of a file asking the developer to fix a typo, and the developer commits and pushed the fix of this typo, the comment on that line will be marked as outdated because the line it was originally added has changed with the fix.
If you would like to still review the outdated comments, you can do so by navigating to the pull request and the file in question, and clicking on the Outdated comment button :
That will open a pop-up window with the outdated comment and also the content of the file when the comment was made.
Hope that helps!
Thank you, @James Pragit !
Patrik S
Thanks. The problem with that rationale is that just because a line was changed doesn't mean that the problem was fixed correctly or at all. An unrelated change could have been made. What's more, it's possible for a line of code to have multiple issues. Just because one issue was fixed doesn't mean that all issues were fixed.
In any case, the outdated comment button doesn't always display and inconsistent within the same pull request. I did a code review of pull request last week and made 10 comments. I took 10 screenshots to keep a record of each comment. When I opened up the pull request, there are only 2 outdated comment buttons, each showing 1 of my comments which means that 8 of my comments are missing. To make matters even worse, when I open the same pull request in a new window, the outdated comment button doesn't display at all which means all 10 of my comments are missing.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi James,
I would suggest creating a ticket with the support team to further investigate this. You can create a ticket via https://support.atlassian.com/contact/#/, in "What can we help you with?" select "Technical issues and bugs" and then Bitbucket Cloud as product.
Please make sure to provide the info you shared here, the URL of the affected PR, and also the screenshots you took from the comments. The support ticket will be visible only to you and Atlassian staff, so any info you share there won't be publicly visible. If we have an open support ticket, the engineer working on it will be able to access the affected PR and investigate further.
Kind regards,
Theodora
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.