Hi, I’m running SonarQube 6.7.1 (build 35068) and I think I found an issue with the “api/qualityprofiles/projects” endpoint.
I need to retrieve all projects that are using a specific Quality Profile. The Quality Profiles can be a specific profile, or the default one. Image top part.
When I retrieve the QualtiyProfiles via “api/qualityprofiles/search” I do get back the default profile.
When I then try to retrieve all projects that are linked to a Quality Profile via “api/qualityprofiles/projects?key=…”
The return for the specifically linked Quality Profiles (E.g. MultiOne High/Medium/Low) return a list of projects associated with the Quality Profile.
When I try to do the same with the default Quality Profile no projects are returned. However when I go to specific projects that do use the default Quality Profile, I can see that it is linked. Image lower part
I would expect that all projects that are linked to the default Quality Profile are being retrieved.
So far I have not been able to work around this issue. I tried to use the selected parameter, but then I would get back all projects also not related the the Quality Gate.
I merged the two images together since I was only allowed to upload one…