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

          Form Name

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

            This has been available since around March 2016 - have a look at the REST docs:

            Cloud: https://docs.atlassian.com/jira-servicedesk/REST/cloud/#servicedeskapi/request/\{issueIdOrKey}/sla

            Server: https://docs.atlassian.com/jira-servicedesk/REST/server/#servicedeskapi/request/\{issueIdOrKey}/sla

            Grégory Joseph (Inactive) added a comment - This has been available since around March 2016 - have a look at the REST docs: Cloud: https://docs.atlassian.com/jira-servicedesk/REST/cloud/#servicedeskapi/request/\ {issueIdOrKey}/sla Server: https://docs.atlassian.com/jira-servicedesk/REST/server/#servicedeskapi/request/\ {issueIdOrKey}/sla

            Is there any update on this issue? We still need it very much for further development of Pocket Desk and delivering it to Cloud instances.

            Thank you!
            Igor

            Igor Sereda [ALM Works] added a comment - Is there any update on this issue? We still need it very much for further development of Pocket Desk and delivering it to Cloud instances. Thank you! Igor

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

                Created:
                Updated:
                Resolved: