PR decoration in Azure: Link to rules is broken

My bot decorates my pull requests with ‘semi-broken’ links.

Calculate the stop condition value outside the loop and set it to a variable. ([cpp:S127])

The link points to this URL, which only brings up a list of all the rules…
https://sonarcloud.io/organizations/MY_ORGA/rules#rule_key=cpp%3AS127

From what I can tell, the correct link should be:
https://sonarcloud.io/organizations/MY_ORGA/rules?open=cpp%3AS127&rule_key=cpp%3AS127

This would point directly to the actual rule that is relevant here.

Is this a bug or do I have the wrong expectations? ,-)

2 Likes

Hi @Sidelobe,

Thank you for report and detailed information you provided!
Indeed this is a bug and the links to rules are not working as expected :smiling_face_with_tear:

I’ve created a ticket to address this issue, we’ll fix it asap.

Cheers

2 Likes