Uploaded image for project: 'Confluence Cloud'
  1. Confluence Cloud
  2. CONFCLOUD-73976

API to paginate through space labels is broken

    XMLWordPrintable

Details

    Description

      Issue Summary

      The Get Space Labels (GET /wiki/rest/api/space/{spaceKey}/label) API does not work properly with regard to pagination.

      Steps to Reproduce

      1. Ensure a space EXAMPLE in tenant https://example.atlassian.net has multiple labels.
      2. GET https://example.atlassian.net/wiki/rest/api/space/EXAMPLE/label?start=0&limit=1
      3. GET https://example.atlassian.net/wiki/rest/api/space/EXAMPLE/label?start=1&limit=1
      4. Compare the label retrieved at steps 2 and 3.

      Expected Results

      The labels returned are different.

      Actual Results

      The labels returned are identical.

      Workaround

      None

      Attachments

        Activity

          People

            Unassigned Unassigned
            dmorrow@atlassian.com Dugald Morrow
            Votes:
            3 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: