A similar question was asked a couple of years ago and there was apparently no way to do it, but is it possible now? If I make a REST API request like this:
{"jql":"reporter = 'Justin Ellis'","fields":["id","key","Average Time in Status"],"expand":["changelog","transitions","history"]}
I get a response with transition information, but with no time in transition or timestamps for transitions, like:
{ "field": "status",
"fieldtype": "jira",
"from": "3",
"fromString": "In Progress",
"to": "5",
"toString": "Resolved"
},
{
"field": "resolution",
"fieldtype": "jira",
"from": null,
"fromString": null,
"to": "1",
"toString": "Fixed"
}
I'm trying to grab, say all the time a ticket or tickets from a specific month last year spent in "Open" or "In Progress" status.