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

External Asset Search API is missing pagination parameters

    XMLWordPrintable

Details

    • 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.

    Description

      Issue Summary

      The assets API is missing some parameters which would help with pagination.

      GET /rest/assetapi/asset

      Ref.: https://developer.atlassian.com/cloud/assetsapi/rest/api-group-assets/#api-asset-search-get

      This is reproducible on Data Center: (yes) / (no)

      Steps to Reproduce

      1. make a request to the assets API as https://mydomain.atlassian.net/rest/assetapi/asset?start=10&limit=10

      Expected Results

      The API should return a link to the "next page"

      Actual Results

      The API returns the "isLastPage" parameter, but that is not helpful.

      Workaround

      The workaround for it would be to continue calling the API until you get the "isLastPage":true flag in the response

      Attachments

        Activity

          People

            Unassigned Unassigned
            71f1dad54ffe Wagner M.
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: