API key for new_line_coverage - sonarQube 8.2

Hi,

We are using sonarQube 8.2 and using api’s for different components.

But, we are not getting the value for “new_line_coverage” / “new_coverage” (only date is being displayed). please let us know what mistake we are doing. please help

Example metrics key that we are using:

http://sran-wbts-sonar.eecloud.dynamic.nsn-net.net:8080/api/measures/search_history?from=2019-01-01&component=WBTS:FSMr3_S00_W1plTx_UT&metrics=new_line_coverage,coverage,duplicated_lines_density,CXX-PERC_LOC_IN_COMPLEX_FUNCTIONS&ps=1000

please help!

Hey there.

See this post: