Query parameter startAt does not work for GET /rest/api/2/issue/{issueIdOrKey}/worklog endpoint

XMLWordPrintable

    • Type: Bug
    • Resolution: Unresolved
    • Priority: Medium
    • None
    • Affects Version/s: 7.2.2, 7.3.8, 7.6.15, 7.7.1, 7.13.9, 8.0.0, 8.5.0
    • Component/s: REST API
    • 7.02
    • 2
    • Severity 2 - Major
    • 0

      Summary

      To achieve pagination, using the query parameter startAt when calling /rest/api/2/issue/{issueIdOrKey}/worklog does not work. Checking the response, startAt is always 0.

      Steps to Reproduce

      1. Create an issue
      2. Log work to the issue
      3. Get the worklog for the issue, use a non-zero value for startAt parameter

      Expected Results

      The result will start from the value placed in startAt.

      Actual Results

      The response is always the same payload i.e. startAt is always zero (same with maxResults = 50) hence pagination cannot be achieved.

      Notes

      The maxResults parameter also experiences the same thing i.e. changing it will not reflect in the results.

              Assignee:
              Unassigned
              Reporter:
              Eric Totte
              Votes:
              10 Vote for this issue
              Watchers:
              15 Start watching this issue

                Created:
                Updated: