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?

