Language wise issue list

I am trying to get language wise issue list for a specific project

Hi,

for Sonarqube web ui use the language filter on the left side, e.g.

issues_languagefilter

for Sonarqube web api use GET api/issues/search with languages and componentKeys or projects (internal) parameter.
You need to activate ‘Show Internal API’ to see those internal parameters in your web api docs.

Gilbert

Thnaks a lot for reply.

Basically, i can get the list of language for a project using http://localhost:9000/api/measures/component?component=SonarTesting&metricKeys=ncloc_language_distribution
and then using that can pass the language to
http://localhost:9000/api/issues/search?language=java&project=SonarTesting

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