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

REST API 'limit' parameter has no effect

XMLWordPrintable

      Summary

      Entering the limit parameter in the REST API does not change the limit of results returned.

      limit int The maximum number of items to return per page. Default: 50. See the Pagination section at the top of this document for more details.

      Environment

      JIRA Service Desk REST API

      Steps to Reproduce

      1. Create a GET request for Customer Requests
        <baseURL>/rest/servicedeskapi/request
        
      2. Observe the "limit" from the result
      3. Change the limit to a higher value and re-send the GET request
      4. <baseURL>/rest/servicedeskapi/request?limit=999
        
      5. Observe the "limit" from the result

      Expected Results

      Changed limit does not affect the results returned. It may be higher than the default value 50

      Actual Results

      Changed limit affects the results returned

      Notes

      JIRA Service Desk REST API is still an experimental release as per this comment

      Workaround

      No workaround as of now

              Unassigned Unassigned
              cchan Chung Park Chan
              Votes:
              11 Vote for this issue
              Watchers:
              12 Start watching this issue

                Created:
                Updated: