Uploaded image for project: 'Jira Data Center'
  1. Jira Data Center
  2. JRASERVER-67157

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

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Medium
    • None
    • 7.2.2, 7.3.8, 7.7.1, 8.0.0, 7.6.15, 7.13.9, 8.5.0
    • REST API

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              0d429bf9e37a Eric Totte
              Votes:
              11 Vote for this issue
              Watchers:
              16 Start watching this issue

              Dates

                Created:
                Updated: