Github Group Sync with Sonar Groups

Must-share information (formatted with Markdown):

  • which versions are you using (SonarQube, Scanner, Plugin, and any relevant extension)
    Sonarqube Enterprise Edition (version 9.9 build 65466)

  • how is SonarQube deployed: zip, Docker, Helm
    installed using Zip

  • what are you trying to achieve
    I was able to achieve Sonarqube authentication with Github with my org called “OrgA”. Now I am trying to synchronize teams as groups option to (for each team they belong to user will be associated to group named Org./Team)

I was unable to create this sync

  • what have you tried so far to achieve this
    I have a team called TeamA, I created a group called OrgA/TeamA to see if the users will get automatically sync to the group in sonarqube but it didnt happen
    I also tried creating group called just TeamA if that works but that is also not working

All the users from github that authenticate are automatically added to Sonar_users group
Could someone help me to fix this issue

Also explain will this work if i can keep on adding more Github Teams as groups in Sonarqube in future "

Thanks
Do not share screenshots of logs – share the text itself (bonus points for being well-formatted)!

Hey there.

Did you enable Synchronize teams as groups in the settings?

I did looks like the issue comes because you cannot sync github teams with upper cases
the groups inside the sonarqube should always be lower cases

so org/group in lower cases worked for me

Hey there.

Thanks for the update.

I wonder if this isn’t something we should improve on our side (either in docs or in the product functionality).

Were your groups represented in GitHub with mixed/upper case? Or were you using a different casing between SonarQube and GitHub and what fixed it was matching what’s in GitHub?

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