-
Suggestion
-
Resolution: Fixed
-
None
-
None
NOTE: This suggestion is for JIRA Service Desk Server. Using JIRA Service Desk Cloud? See the corresponding suggestion.
Currently, rest/servicedesk/1/sla/field/all/data/sla resource provides information like this excerpt:
{ "metricValues": [ { "customFieldId": 10001, "customFieldName": "Time to resolution", "ongoingCycle": { "elapsedTime": 334993181, "goalId": 2, "hasFailed": true, "isPaused": false, "startTime": 1433461410269 } } ] }
It doesn't provide enough data for a remote agent to reproduce the behavior on the server side, which is needed to build an offline-capable app for Service Desk.
We suggest to provide a "raw" REST API (say, rest/servicedesk/1/sla/field/all/data/sla-raw) that exposes the internal structure of SLA like this:
{ "metricValues": [ { "completeSLAData": [], "customFieldId": 10001, "customFieldName": "Time to resolution", "metricId": 1, "ongoingSLAData": { "goalId": 2, "paused": false, "startTime": 1433461410269 }, "timeline": { "events": [ { "date": 1433461410269, "types": [ "START" ] } ] } } ] }
- relates to
-
JSDCLOUD-2001 Full access to SLA data via REST API
- Closed
[JSDSERVER-2001] Full access to SLA data via REST API
Resolution | Original: Done [ 17 ] | New: Fixed [ 1 ] |
Status | Original: Closed [ 6 ] | New: Closed [ 6 ] |
Workflow | Original: JAC Suggestion Workflow [ 3011816 ] | New: JAC Suggestion Workflow 3 [ 3649426 ] |
Status | Original: RESOLVED [ 5 ] | New: Closed [ 6 ] |
Workflow | Original: Confluence Workflow - Public Facing v4 [ 2665246 ] | New: JAC Suggestion Workflow [ 3011816 ] |
Workflow | Original: JSD Suggestion Workflow - TEMP [ 2324533 ] | New: Confluence Workflow - Public Facing v4 [ 2665246 ] |
Status | Original: Closed [ 6 ] | New: Resolved [ 5 ] |
Workflow | Original: JSD Suggestion Workflow [ 2053665 ] | New: JSD Suggestion Workflow - TEMP [ 2324533 ] |
Workflow | Original: JSD Suggestion Workflow - TEMP [ 2048832 ] | New: JSD Suggestion Workflow [ 2053665 ] |
Workflow | Original: JSD Suggestion Workflow [ 1280569 ] | New: JSD Suggestion Workflow - TEMP [ 2048832 ] |
Description |
Original:
Currently, {{rest/servicedesk/1/sla/field/all/data/sla}} resource provides information like this excerpt:
{code} { "metricValues": [ { "customFieldId": 10001, "customFieldName": "Time to resolution", "ongoingCycle": { "elapsedTime": 334993181, "goalId": 2, "hasFailed": true, "isPaused": false, "startTime": 1433461410269 } } ] } {code} It doesn't provide enough data for a remote agent to reproduce the behavior on the server side, which is needed to build an offline-capable app for Service Desk. We suggest to provide a "raw" REST API (say, {{rest/servicedesk/1/sla/field/all/data/sla-raw}}) that exposes the internal structure of SLA like this: {code} { "metricValues": [ { "completeSLAData": [], "customFieldId": 10001, "customFieldName": "Time to resolution", "metricId": 1, "ongoingSLAData": { "goalId": 2, "paused": false, "startTime": 1433461410269 }, "timeline": { "events": [ { "date": 1433461410269, "types": [ "START" ] } ] } } ] } {code} |
New:
{panel:bgColor=#e7f4fa} *NOTE:* This suggestion is for *JIRA Service Desk Server*. Using *JIRA Service Desk Cloud*? [See the corresponding suggestion|http://jira.atlassian.com/browse/JSDCLOUD-2001]. {panel} Currently, {{rest/servicedesk/1/sla/field/all/data/sla}} resource provides information like this excerpt: {code} { "metricValues": [ { "customFieldId": 10001, "customFieldName": "Time to resolution", "ongoingCycle": { "elapsedTime": 334993181, "goalId": 2, "hasFailed": true, "isPaused": false, "startTime": 1433461410269 } } ] } {code} It doesn't provide enough data for a remote agent to reproduce the behavior on the server side, which is needed to build an offline-capable app for Service Desk. We suggest to provide a "raw" REST API (say, {{rest/servicedesk/1/sla/field/all/data/sla-raw}}) that exposes the internal structure of SLA like this: {code} { "metricValues": [ { "completeSLAData": [], "customFieldId": 10001, "customFieldName": "Time to resolution", "metricId": 1, "ongoingSLAData": { "goalId": 2, "paused": false, "startTime": 1433461410269 }, "timeline": { "events": [ { "date": 1433461410269, "types": [ "START" ] } ] } } ] } {code} |
Link |
New:
This issue relates to |
Resolution | New: Done [ 17 ] | |
Status | Original: Open [ 1 ] | New: Closed [ 6 ] |