SonarCloud PR Widget Stopped Working

Issue

The PR widget for SonarCloud in Bitbucket Cloud is no longer working. It hasn’t been working for a few days for any of our team members in the usual list of browsers: Chrome, Firefox, Edge, Safari… The scan runs just fine in the PR, but the widget can’t load.

When looking at the network request I see a single request to https://sonarcloud.io which gets back an HTML snippet… Not sure if this issue is global for all users on the cloud versions or if this is somehow only a problem with our tenant.

Steps to reproduce

  1. Submit a PR
  2. Load the PR UI on Bitbucket Cloud
    image

HTML Snippet Returned

<!doctype html><html lang="en"><head><meta http-equiv="content-type" content="text/html; charset=UTF-8" charset="UTF-8"/><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="application-name" content="SonarCloud extension for Bitbucket Cloud"/><script src="https://bitbucket.org/atlassian-connect/all.js" data-options="resize:true"></script><title>SonarCloud extension for Bitbucket Cloud</title></head><body><div id="content"></div><script>window.baseUrl="",window.bbcAppKey="sonarcloud",window.bbcJWT="%BBC_JWT%",window.bbcWidgetKey="pullrequest-code-quality",window.projectKey="REDACTED",window.allowManualBinding="%BBC_ALLOW_MANUAL_BINDING%"</script></body></html>

Hello,

This was fixed last week: https://jira.sonarsource.com/browse/SCCOMM-43

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.