Filter projects based on key metrics

Hi!

I would like to be able to filter projects based on some key metrics, for example, filter all projects with code smells rating equals C or vulnerabilities rating equals B.

Is that possible? If not, are there any plan to have this feature?

Hey there.

The Projects page of your organization should let you do just that, which you can further Sort by

Thank you Colin for the explanation. Sadly my use case is a little diferent.

I’m in a role of a researcher looking for projects at SonarCloud in order to do my research. So I’m missging this sorting feature inside the Explore area.

Today I need to do go through all pages, looking for projects with the rating I’m in need for.

Thanks. This isn’t really a use-case we try and cover with SonarCloud, but you should be able to do something like this:

https://sonarcloud.io/api/components/search_projects?filter=%22reliability_rating%3E=3%20and%20security_rating%3E=2

This is an Internal API subject to change at any time. And since it’s undocumented, I suggest verifying individual projects returned to make sure you’ve got the syntax right.