Uploaded image for project: 'Jira Cloud'
  1. Jira Cloud
  2. JRACLOUD-34746

Result for Issue rest api and Webhooks call returns only the first 20 worklogs

XMLWordPrintable

      NOTE: This bug report is for JIRA Cloud. Using JIRA Server? See the corresponding bug report.

      Hi support,

      when querying a specific issue with the jira rest api through the endpoint

      rest/api/latest/issue/

      {issueIdOrKey}

      the resulting object includes only the first 20 worklogs in the "workload"-property. The "comments"-property includes always all available comments. In our case we need to get all worklogs in the result and based on the fact, that comments are handled differently I think there should be a consistant solution.

      Steps to reproduce:

      1. create issue
      2. create 21 worklogs
      3. call the rest api endpoint for an issue
      4. result is, that the worklog-property does only contain 20 worklogs instead of 21

      Question has been posted in the support forum:

      https://answers.atlassian.com/questions/208332/all-worklogs-for-an-issue-through-issue-end-point?page=1

      Thanks

      Update :

      When encountering this bug, when trying to query for a specific work log ID that is after the first 20 work log, it will return error that it can't find the specific work log ID. This happens even though if the specific work log ID information is in the database.

            Unassigned Unassigned
            d403d295adf5 Talk About
            Votes:
            39 Vote for this issue
            Watchers:
            44 Start watching this issue

              Created:
              Updated:
              Resolved: