Organization| Set a main branch name

Hi, is there a way to set a default main branch name at organizational level, not using the web api? (the GUI will be great)
I cannot find any reference for it.

Thank you in advance

Hi @gianfaProm,

To set the default main branch name instance-wide, you’ll have to navigate to Administration Tab → General Setting → General → Project Creation or you can search for this key sonar.projectCreation.mainBranchName in the Administration Tab → General Setting → Search box.

Note: This option is only available starting in Developer Edition

Thanks,
Aravind

Hi Aravind, thank you for your reply.
I cannot find these kind of settings, actually even General Setting, are you sure we are talking about SonarCloud? Or maybe I’m missing something ^^'.

I didn’t know about Developer Edition for SonarCloud, could you please give me some reference to look into?

Hi @gianfaProm,

I apologize, I did not realize this was related to Sonarcloud. All the details I shared were related to Sonarqube(Local Server Instances) and not Sonarcloud.
I am not aware of these settings in Sonarcloud.

Apologies again :sweat:

Thanks,
Aravind

No worries, thanks anyway for the kind try :slight_smile: