PR decoration no longer working DE 9.6.1

Hi,

we recently upgraded our SonarQube DE from 8.9.3 → 9.6.1 .
We noticed that since the upgrade, we don’t see any Pull Request Decorations anymore in our Bitbucket Server PR (v7.21.0). Also the link in Sonar to the PRs in Bitbucket are no longer appearing. On analyzed branches before the upgrade, the links are still there.

We did not change any configuration and all settings are still correct. We tried reconfiguring with no success.
When doing a TRACE, there are also no logs appearing that seems related to triggering a pull request decoration (in the ce.log).

Command we run:
sonar-scanner -Dsonar.projectVersion=24cc659 -Dsonar.pullrequest.branch=<branchName> -Dsonar.pullrequest.key=5 -Dsonar.pullrequest.base=master -Dsonar.projectName=<projectName> -Dsonar.projectKey=<PROJECT>:<SLUG> -Dsonar.exclusions=*,app/**,bin/**,var/**,vendor/**,build/**,**/*.spec.ts

Any ideas where to look?

Hi,

Welcome to the community!

You said you turned on trace logging. Was that in the analysis or at the server? PR decoration happens after the analysis report is submitted to the server, so you wouldn’t see anything relevant on the analysis side.

Can you check your server logs? Hopefully you’ll see something relevant.

It may also be worth re-verifying your connection via the UI: Administration → DevOps Platform Integrations → Bitbucket → Check configuration.

And finally, is it possible the timing is coincidental, and your Bitbucket auth token has expired?

 
Ann

Hi Ann,
the logging was at the server. There was nothing relevant that I could quickly find.
The configuration works, when we do a “Check Configuration” it is valid (and as such, the auth token is also not expired).

Not sure if it is possible to downgrade to a previous version (are there any database changes between 9.x and 9.6.1)?

Hi @rhasp,

PR decoration should work properly for each version that we released. It’s not a good idea to downgrade because of this issue.

I’m happy to help you further on this. But I need more information. Could you set up your server logs to debug and share the server logs along with analysis debug logs?

I will send you a PM so that you can share the logs with me.

I have double checked everything so far. The token is working fine, but I recreated new one just to be sure. There is nothing relevant as far as I can see in the logs (both server and analysis)