getting new code coverage, new issues history in time machine api

440 views Asked by At

We have a requirement to get historical information on new code coverage, new issues for sonar projects. The resources api gives value of only the last analysis while the time machine api is giving value=null for these new code metrics: https://nemo.sonarqube.org/api/timemachine?metrics=complexity,coverage,blocker_violations,critical_violations,new_line_coverage,new_coverage,new_blocker_violations,new_critical_violations&includetrends=true&resource=org.sonarsource.php%3Aphp

What is the correct way to retrieve historical information on new code metrics using API. We are usng SonarQube 5.3 version

0

There are 0 answers