Uploaded image for project: 'Jira Software Data Center'
  1. Jira Software Data Center
  2. JSWSERVER-9789

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Tracked Elsewhere
    • Icon: Low Low
    • None
    • 6.3.0.2
    • None
    • We are using Jira as onDemand-Service.

      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

              Unassigned Unassigned
              d403d295adf5 Talk About
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: