which versions are you using : SonarQube Enterprise 10.7
how is SonarQube deployed: zip
what are you trying to achieve : AI code fix feature
what have you tried so far to achieve this : Upgraded 10.6 to 10.7
Hi,
I upgraded to SonarQube 10.7, but the AI code fix feature is not visible in the issue details.
The feature is enabled, and there is an internet connection, yet it is still not appearing.
Are there any additional settings or configurations needed to enable the AI code fix feature in SonarQube 10.7?
Additionally, if there are specific areas I should check to ensure it is functioning correctly, I would appreciate your guidance on where to look.
I followed the steps to enable the AI code fix feature, and I don’t see AICodeFix setting in the project settings. I confirm that I am looking in the right place.
Could you please assist me in identifying any additional settings or configurations needed to enable this feature in SonarQube 10.7?
Well, there is no project setting. Only the global setting.
So you’ve switched it on here?
To do this, go to Administration > Configuration > General Settings > AI CodeFix > and select Enable AI CodeFix.
No additional configuration should be needed. However, AI CodeFix is not available for all issues. I don’t know why we don’t document more rigorously what that means… but it is the vast majority of rules. So if it’s not showing up for one, I’d love to know the Rule ID.
Well, there is no project setting. Only the global setting.
→ That’s what I thought too.
And yes the Enable AI CodeFix is selected.
It’s not showing up for all issues. I upgraded from 10.6 to 10.7, but the UI on the issue page looks the same as 10.6, even though it shows version 10.7.