[Gives correct responses for overall code only not for new code] Issue:
New code metrics for projects while using 2nd API it is not giving the values as shown below.
The API call shows the response as NULL for new code metrics but latest build results are showing the metric values in New code dashboard. I need to understand on this colin.
In SonarQube for the project the new_codesmells are 42 but in the response it is not showing the value.But for the bugs(overall code) it is showing the value with history.
I need to understand, why the API is not publishing the values of New_code metrics.
The project dashboard isn’t using GET api/measures/search_history – but you’re right, the docs for that Web API shouldn’t show new_ metrics. I’ve let the right team know we should update the response example.