Uploaded image for project: 'Xray for Jira'
  1. Xray for Jira
  2. XRAY-10308

When using API requests with the Start parameter, the same is not being obeyed. No matter the defined Start number, the results will always start on 0

    XporterXMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Not a Problem
    • Xray DC - V7.7.1
    • Xray DC - v7.8.3
    • REST API
    • Xray 2024 S8
    • UNCOVERED

    Description

      Description

      When using API requests with the Start parameter, the same is not being obeyed. No matter the defined Start number, the results will always start on 0. The limit is working as expected.

      How to reproduce

      1. Open API and place the following cURL:
        http://localhost:8080/rest/raven/1.0/api/testplan/BRD-72/test?start=30&limit=50
        
      1. Start in Test 30 and go to 50
      2. In Rest API is showing all the Tests from 0 to 50 (in the presented case)

      1. When in Browser the same situation is happening, independently of the number used in Start:


      1. It displays the limit correctly but at the start, it is not showing as expected.
      1. When Start is (in this case) showing: Start=1 the first Test showing should be "LK-13" and not "LK-1"

      Actual result/Attachments

      The query is not pulling the correct Start number defined, always showing Test 0 independently if it is showing 1 or 30

      Expected result

      To be able to have the Start pulling the correct Test number and not showing all the Tests if it is requested to Start on Test 10

      Version

      • 7.7.0-j9

      Workaround

      N/a

      Attachments

        Activity

          People

            dpca Diamantino Campos
            ana.ribeiro Ana Ribeiro
            Votes:
            2 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: