before (i.e Sonarqube 7.9.x) we could have Pull Request decoration automatically, but after the migration it seems that it is no longer the case. Apparently if I want them back, I need to go over each project to manually add PullRequest decoration and select the GitHub repository
I have 2 questions:
can I automatically/programmatically set the PR decoration on all existing project (without going through > 400 UI pages)
can I programmatically set PR decoration when I add new project to scan
Welcome to our community forum and thanks @abhishektaneja for helping
Iâll try to give additional information here :
Normally, it should be the case automatically for existing projects with PR decoration, after you perform a PR analysis after the migration, the properties should be set automatically
Could you please check and let us know, otherwise we will investigate whatâs not working.
Are you using the Developer Edition? If you are using another Edition, it may also explain some errors.
It depends on how you create your new projects on SQ:
if you create them on the UI, you have to set up the properties manually on the project settings after the project creation. Note that we want to improve this part and set automatically the properties by selecting the repository at project creation.
if you create them via a script, you can use the API.
Also to help us in our improvements, I would be happy to know how you create your projects in SQ, and especially, do you create one project at a time, or several projects at a time?