Uploaded image for project: 'Jira Service Management Cloud'
  1. Jira Service Management Cloud
  2. JSDCLOUD-2001

Full access to SLA data via REST API

    XMLWordPrintable

Details

    • Our product teams collect and evaluate feedback from a number of different sources. To learn more about how we use customer feedback in the planning process, check out our new feature policy.

    Description

      NOTE: This suggestion is for JIRA Service Desk Cloud. Using JIRA Service Desk Server? 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"
                              ]
                          }
                      ]
                  }
              }
          ]
      }
      

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              bbf762edcc79 Igor Sereda [ALM Works]
              Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: