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

XMLWordPrintable

    • Type: Bug
    • Resolution: Unresolved
    • Priority: Medium
    • None
    • Affects Version/s: 3.12.2
    • Component/s: API and Integrations
    • 2
    • Severity 3 - Minor
    • 0

      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

            Assignee:
            Unassigned
            Reporter:
            Ruchi Tandon (Inactive)
            Votes:
            4 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated: