Endpoint
/rest/sla/1.0/analytics/batch?jql={jql}&offset={offset)&limit={limit}
where jql is a query for issues, offset is the number of issues to skip and limit is the max number of issues to display. Offset and limit are optional.
Response structure:
"analyticsData": [ { "analyticsName": text, "analyticsId": text, "values": [ { "name": text, "seconds": number, "duration": text, "percent": text } ] } ]