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

Running Servicedesk REST api to GET all requests posted by a customer does not fetch all issues

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Medium Medium
    • None
    • 3.12.2
    • API and Integrations

      Summary

      Trying to retrieve issues reported by a a customer user using Jira Servicedesk  REST api.
      It looks like its not possible to retrieve all issues using the REST api.

      Steps to Reproduce

      1. Find a customer user that has reported thousands of issues using customer portal
      2. Run the REST call like this : <baseURL>/rest/servicedeskapi/request?start=0&limit=100 <baseURL>/rest/servicedeskapi/request?start=0&limit=100 <baseURL>/rest/servicedeskapi/request?start=100&limit=100 <baseURL>/rest/servicedeskapi/request?start=200&limit=100 <baseURL>/rest/servicedeskapi/request?start=300&limit=100
      3. but the api is only returning few hundred issues, not all of them even when there are thousands of issues reported by the customer.

      Notes

      Since the REST api has another known bug : https://jira.atlassian.com/browse/JSDSERVER-4187, as a workaround tried to run the REST call like this :

      1. <baseURL>/rest/servicedeskapi/request?start=0&limit=100 <baseURL>/rest/servicedeskapi/request?start=0&limit=100 <baseURL>/rest/servicedeskapi/request?start=50&limit=100 <baseURL>/rest/servicedeskapi/request?start=100&limit=100 <baseURL>/rest/servicedeskapi/request?start=150&limit=100

      Expected Results

      It is possible to retrieve all the issues reported by the customer.

      Actual Results

      It is not possible to retrieve all the issues using the REST api.

      Workaround

      There is no workaround available as of now

            [JSDSERVER-5920] Running Servicedesk REST api to GET all requests posted by a customer does not fetch all issues

            Benjamin S made changes -
            Link New: This issue is related to JSDSERVER-15706 [ JSDSERVER-15706 ]
            Benjamin S made changes -
            Remote Link Original: This issue links to "JSDS-2540 (Bulldog)" [ 377509 ] New: This issue links to "JSMDC-2540 (JIRA Server (Bulldog))" [ 377509 ]
            Marc Dacanay made changes -
            Labels Original: cqt New: cqt ril
            Marc Dacanay made changes -
            Remote Link New: This issue links to "Internal ticket (Web Link)" [ 955087 ]
            SET Analytics Bot made changes -
            Support reference count Original: 1 New: 2
            SET Analytics Bot made changes -
            UIS Original: 5 New: 0
            SET Analytics Bot made changes -
            UIS New: 5
            Owen made changes -
            Workflow Original: JSD Bug Workflow v5 - TEMP [ 2745639 ] New: JAC Bug Workflow v3 [ 3125173 ]
            Status Original: To Do [ 10071 ] New: Gathering Impact [ 12072 ]
            Bartosz Ornatowski made changes -
            Status Original: Untriaged [ 11672 ] New: To Do [ 10071 ]
            Nhi Nguyen (Inactive) made changes -
            Priority Original: Low [ 4 ] New: Medium [ 3 ]

              Unassigned Unassigned
              rtandon@atlassian.com Ruchi Tandon
              Affected customers:
              4 This affects my team
              Watchers:
              6 Start watching this issue

                Created:
                Updated: