• Icon: Suggestion 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.

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

            [JSDSERVER-2001] Full access to SLA data via REST API

            No work has yet been logged on this issue.

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

                Created:
                Updated:
                Resolved: