Historical report on releases based on the “new code tab” in the dashboard

SonarQube 8.3.1
I am trying to create historical report on releases based on the “new code tab” in the dashboard. I was trying the following.
https://sonar.com/api/measures/component?additionalFields=period&component=my-component&metricKeys=new_coverage
Unfortunately this call only gives me the lasts release period e.g.

A response similar for the below

{
  "component": {
    "id": "xyz",
    "key": " my-component ",
    "name": "My Componet",
    "description": "Base Maven project for Me",
    "qualifier": "TRK",
    "measures": [
      {
        "metric": "new_coverage",
        "periods": [
          {
            "index": 1,
            "value": "0.0",
            "bestValue": false
          }
        ],
        "period": {
          "index": 1,
          "value": "0.0",
          "bestValue": false
        }
      }
    ]
  },
  "period": {
    "index": 1,
    "mode": "PREVIOUS_VERSION",
    "date": "2020-09-11T01:35:47+0100",
    "parameter": "2020.9.6-SNAPSHOT"
  }
}

Any way to go back for the last three months for example and get this information?

Hi,

We don’t store historical values for ‘on New Code’ metrics, so it won’t be possible to create this report.

 
:woman_shrugging:
Ann

Hi Ann,

Thank you for your response
Maybe I as wasn’t clear enough.
It looks like the graph in the dashbord does something very similar


Or maybe it relates only for absolute values?

Haim

Hi,

Yes, that’s a graph of overall values.

 
HTH,
Ann