SLA REST API missing cycles and status

Rubèn C_ February 1, 2021

Hi,

we are using the SLA REST API to build some reporting (time a ticket spends in our side versus waiting on customer).

We are seeing that for some tickets, not all, some transitions seem to be not reflected in the JSON so when running the SLA API versus a ticket, for ex.:

https://<domain>.qad.com/rest/servicedeskapi/request/<key>/sla

some cycles that clearly should appear because they pause the clock are missing.

Looking at the ticket, the transitions are there. But the API doesn't show some.

Anyone knows a potential reason?

1 answer

0 votes
Bloompeak Support
Marketplace Partner
Marketplace Partners provide apps and integrations available on the Atlassian Marketplace that extend the power of Atlassian products.
February 1, 2021

Hi @Rubèn C_ ,

I do not know why SLA rest api does not list all transition but I can suggest another api to get all transitions. It is the get issue api with query parameter expand=changelog.

https://docs.atlassian.com/software/jira/docs/api/REST/8.15.0/#api/2/issue-getIssue

Suggest an answer

Log in or Sign up to answer