PR analysis not showing up in Bitbucket analysis widget

We use Sonarcloud in combination with the Sonar plugin on Bitbucket pipelines.
A couple of days ago, the analysis of our PR branches stopped showing up in our Bitbucket pipeline analysis widget. The widget says “Not analyzed on SonarCloud yet…” even though the PR analysis correctly shows up on Sonarcloud itself.

I don’t see any WebHooks in SonarCloud. Did you accidentally deleted those on your part?

We’re using a private plan, so please contact me for more information.

Thanks!
Thomas

1 Like

Wanted to second that we are seeing this issue as well.

1 Like

Hello,

We did a recent update to the Bitbucket widget, and it seems like there is a bug in there.
We are currently trying to reproduce it.

In the meantime, could you share here if you see any network error in the developer console of your browser when loading the page with the widget ?

And if you see this issue on an open source project don’t hesitate to share links here with us.

1 Like

Having the same issue and seeing a 404 for the following request

https://sonarcloud.io/integration/bitbucketcloud/pr_widget_data?prId=... etc.

If I try and load the request in a new tab I get

{"errors":[{"msg":"An unexpected error occurred. Please try again later."}]}

We are also noticing this for our pull-requests. We have a private repo and would be happy to share info if you reach out to us.

Hello,

We found the bug which affects short-lived branch analyses. We are currently working on fixing it and will let you know when it’s done.

Thanks,
Peter

2 Likes

Hello,

The fix of the Bitbucket widget has been finished and deployed today. Sorry for the inconvenience.

Thanks,
Peter

1 Like

It’s still not working for me.
Now, I get the below

{"errors":[{"msg":"Pull Request not found"}]}

https://sonarcloud.io/integration/bitbucketcloud/pr_widget_data?prId=143....

I can confirm the issue was resolved on our part.
Thanks for the help!

2 Likes

@Alvin_Chew Since we deployed the fix, the url that you shared changed, maybe you still have some old stuff in you cache ?

Thanks I’ll run on incognito and test