Linked comments in Pull request is not rendering correctly in Bitbucket Datacenter

Still need help?

The Atlassian Community is here for you.

Ask the community


Platform Notice: Data Center Only - This article only applies to Atlassian products on the Data Center platform.

Note that this KB was created for the Data Center version of the product. Data Center KBs for non-Data-Center-specific features may also work for Server versions of the product, however they have not been tested. Support for Server* products ended on February 15th 2024. If you are running a Server product, you can visit the Atlassian Server end of support announcement to review your migration options.

*Except Fisheye and Crucible

Summary

When adding a link in a Pull Request comment, please ensure to include the 'http://' or 'https://' protocol at the beginning of the URL. If this is omitted, the link will redirect to the open Pull Request itself, rather than the intended destination.

Environment

7.x,8.x

Cause

The absence of the "http://" or "https://" protocol before the actual URL.



Solution

 Although the link appears correctly formatted, the lack of "https://" causes the browser to interpret it as a relative URL. To resolve this issue, ensure that "https://" is added to the beginning of the URL. Doing so will ensure the link directs to the intended webpage rather than the Pull Request details.



Last modified on Sep 26, 2024

Was this helpful?

Yes
No
Provide feedback about this article
Powered by Confluence and Scroll Viewport.