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

      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

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

            Brad Bressler made changes -
            Remote Link New: This issue links to "Page (Confluence)" [ 474337 ]
            Brad Bressler made changes -
            Remote Link New: This issue links to "Page (Confluence)" [ 472601 ]
            Brad Bressler made changes -
            Remote Link New: This issue links to "Page (Confluence)" [ 471605 ]
            Katherine Yabut made changes -
            Workflow Original: JAC Suggestion Workflow [ 3012211 ] New: JAC Suggestion Workflow 3 [ 3647618 ]
            Status Original: RESOLVED [ 5 ] New: Closed [ 6 ]
            Owen made changes -
            Workflow Original: Confluence Workflow - Public Facing v4 [ 2666089 ] New: JAC Suggestion Workflow [ 3012211 ]
            Owen made changes -
            Workflow Original: JSD Suggestion Workflow - TEMP [ 2324025 ] New: Confluence Workflow - Public Facing v4 [ 2666089 ]
            Status Original: Closed [ 6 ] New: Resolved [ 5 ]
            Katherine Yabut made changes -
            Workflow Original: JSD Suggestion Workflow [ 2052568 ] New: JSD Suggestion Workflow - TEMP [ 2324025 ]
            Katherine Yabut made changes -
            Workflow Original: JSD Suggestion Workflow - TEMP [ 2048060 ] New: JSD Suggestion Workflow [ 2052568 ]
            Katherine Yabut made changes -
            Workflow Original: JSD Suggestion Workflow [ 1400192 ] New: JSD Suggestion Workflow - TEMP [ 2048060 ]
            jonah (Inactive) made changes -
            Description Original: h3. Problem Definition
            It is currently not possible to retrieve reports from a service desk project using the REST APIs for JIRA Service Desk.



            h3. 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.:
            {noformat}
            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
            {noformat}

            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.


            h3. Workaround
            You can use curl and call (change the limit according to your needs):
            {noformat}
            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"
            {noformat}


            *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 | https://docs.atlassian.com/jira-servicedesk/REST/server/] for changes to structure
            New: {panel:bgColor=#e7f4fa}
              *NOTE:* This suggestion is for *JIRA Service Desk Server*. Using *JIRA Service Desk Cloud*? [See the corresponding suggestion|http://jira.atlassian.com/browse/JSDCLOUD-3815].
              {panel}

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



            h3. 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.:
            {noformat}
            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
            {noformat}

            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.


            h3. Workaround
            You can use curl and call (change the limit according to your needs):
            {noformat}
            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"
            {noformat}


            *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 | https://docs.atlassian.com/jira-servicedesk/REST/server/] for changes to structure

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

                Created:
                Updated:
                Resolved: