Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

How to calculate SLA times from JQL REST API results?

IT Solutions Team February 3, 2014

I'm trying to calculate the average response time for a JIRA Service Desk SLA via JQL REST API. I see the following column/value pairs that seem to be what I'm looking for, is there a way to translate this into the SLA's hours and minutes that I can then use to calculate the average?

'customfield_10101': 'com.atlassian.servicedesk.internal.sla.model.SLAValue@5921ab28'

'customfield_10100': 'com.atlassian.servicedesk.internal.sla.model.SLAValue@316bfccf'

Or is there a different way to handle this? I know there is a report that shows the graph and an average but I want to pull these numbers automatically to update an external report.

Thank you for your time.

1 answer

0 votes
Pedro Felgueiras
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
March 24, 2016

I think you have your solution here https://jira.atlassian.com/browse/JSD-346

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events