Web API api/measures/search_history does not contains all the metrics value for all the previous anlaysis for new code metrics

using sonar qube version-6.7 sonarscanner version-3.0.3.778

api api/measures/search_history contains value only for the current(last) analysis in the history key list for new code metrics such as new_coverage, new_lines_to_cover, new_uncovered_lines etc … and not for all the remaining analysis, they contain only date parameter not the value parameter. working for other metrics like ncloc, lines, statements etc…

Hi,

This is working as designed. We don’t keep historical “new” values because once they’re historical, they’re not “new” anymore.

 
HTH,
Ann

1 Like