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

Add the possibility to get service desk reports using REST API

    • Icon: Suggestion Suggestion
    • Resolution: Tracked Elsewhere
    • Forge and Connect
    • None
    • 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.

      NOTE: This suggestion is for JIRA Service Desk Cloud. Using JIRA Service Desk Server? See the corresponding suggestion.

      Problem Definition

      It is currently not possible to retrieve reports from a service desk project using the REST APIs for JIRA Service Desk.

      Suggested Solution

      When clicking on a report (e.g. customers' satisfaction), I can see (in the developers' tools console) that the endpoint "/rest/servicedesk/SERVICEDESK-ID/projects/PROJECT-KEY/report/REPORT-NAME" is called.

      E.g.:

      https://HOSTNAME/rest/servicedesk/SERVICEDESK-ID/projects/PROJECT-KEY/report/REPORT-NAME?start=1&limit=20&jsonFilter=%7B%22timescaleId%22%3A2%7D&expand=overall&_=1464172480372 
      

      Using the above url in the browser address bar displays the desired results. This endpoint should also be available to be consumed using REST calls.

      Workaround

      You can use curl and call (change the limit according to your needs):

      curl -D- -u USERNAME:PASSWORD -X GET -H "Content-Type: application/json" "https://HOSTNAME/rest/servicedesk/SERVICEDESK-ID/projects/PROJECT-KEY/report/REPORT-NAME?start=1&limit=100" 
      

      NOTE: this is not an optimal solution since this is only used internally and it may change without notice. Refer to Latest JIRA Service Desk REST API Reference for changes to structure

            [JSDCLOUD-3815] Add the possibility to get service desk reports using REST API

            Grégory Joseph (Inactive) added a comment - This will be tracked at https://ecosystem.atlassian.net/browse/JSDECO-25

            Hey Dario,

            Thanks for suggesting this - we were actually considering exposing this, but would you mind expanding on your use-case? What would like to see in API? A list of reports ? Their data series ? What are you expecting to do with them ?

            Grégory Joseph (Inactive) added a comment - Hey Dario, Thanks for suggesting this - we were actually considering exposing this, but would you mind expanding on your use-case? What would like to see in API? A list of reports ? Their data series ? What are you expecting to do with them ?

              Unassigned Unassigned
              dbonotto Dario B
              Votes:
              1 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: