I gather I can't extract the history chain for Status/Resolution using JQL.
I'm a novice to the programmatic API...
Is it possible to write an API program to query JIRA and extract the history?
The larger goal is to present a report, per issue (grouped by Team), of the elapsed time spent processing completed issues (time from status -> In Progress until -> Accepted).
In a similar vein, to report on the number of issues Accepted, per unit time (e.g. calendar month).
[the workflow goes Submitted, Triaged, Ready for Refinement, Refined, In Progress, Delivered, Accepted, Verified. I can't assume the final resolved time, as it'll change when Verified.]