How to lock UI to specific branch?


I am using SonarQube 8.9. I would like to lock SonarQube UI to develop branch instead of master (MAIN BRANCH). This lock allows that a click on a particular project on the UI, opens it directly to develop branch instead of master.

I saw a discussion “How to change the Main Branch in SonarQube ?” but it is focused on API. I saw you can change the name of the branch via UI but I am looking for an option that said set as “MAIN BRANCH” likes it exists on Quality Profile to set “Default” to a particular set of rules.

Thanks for your help.

1 Like


this feature ain’t available yet but it’s tracked at the Sonarqube productboard under


though there’s no corresponding Jira ticket for Sonarqube 9.5 so far


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