Uploaded image for project: 'Jira Service Management Data Center'
  1. Jira Service Management Data Center
  2. JSDSERVER-2001

Full access to SLA data via REST API

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Fixed
    • None
    • API and Integrations
    • None
    • We collect Jira Service Desk feedback from various sources, and we evaluate what we've collected when planning our product roadmap. To understand how this piece of feedback will be reviewed, see our Implementation of New Features Policy.

    Description

      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"
                              ]
                          }
                      ]
                  }
              }
          ]
      }
      

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved:

                Backbone Issue Sync