user2000223
user2000223

Reputation: 81

What is the SonarQube Web API to retrieve all projects/resources which are using a specific quality profile?

What is the SonarQube Web API to retrieve all projects/resources which are using a specific quality profile ? I know we have API to get all profiles used for a project, But my requirement is just in contrast.

Resources: https://docs.sonarqube.org/pages/viewpage.action?pageId=2392180

Profiles: https://docs.sonarqube.org/pages/viewpage.action?pageId=2392177

Can anyone help here?

Thanks and regards, Narasimha

Upvotes: 3

Views: 3702

Answers (1)

Teryk - SonarSource
Teryk - SonarSource

Reputation: 994

Use the web service api/qualityprofiles/projects to retrieve projects associated with a specific quality profile.

Upvotes: 0

Related Questions