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

    • Icon: Bug Bug
    • Resolution: Tracked Elsewhere
    • Icon: Low Low (View bug fix roadmap)
    • 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

          Form Name

            [JSWSERVER-9789] Result for Issue rest api call returns only the first 20 worklogs

            Bugfix Automation Bot made changes -
            Minimum Version New: 6.03
            Owen made changes -
            Workflow Original: JAC Bug Workflow v2 [ 2853102 ] New: JAC Bug Workflow v3 [ 2935984 ]
            Status Original: Resolved [ 5 ] New: Closed [ 6 ]
            Owen made changes -
            Workflow Original: JIRA Bug Workflow w Kanban v7 - Restricted [ 2545129 ] New: JAC Bug Workflow v2 [ 2853102 ]
            Ignat (Inactive) made changes -
            Workflow Original: JIRA Bug Workflow w Kanban v6 - Restricted [ 1551655 ] New: JIRA Bug Workflow w Kanban v7 - Restricted [ 2545129 ]
            Confluence Escalation Bot (Inactive) made changes -
            Labels New: affects-server
            Owen made changes -
            Workflow Original: JIRA Bug Workflow w Kanban v6 [ 906964 ] New: JIRA Bug Workflow w Kanban v6 - Restricted [ 1551655 ]
            Oswaldo Hernandez (Inactive) made changes -
            Workflow Original: GreenHopper Kanban Workflow 20141014 [ 744278 ] New: JIRA Bug Workflow w Kanban v6 [ 906964 ]
            mtokar.adm made changes -
            Workflow Original: GreenHopper Kanban Workflow v2 [ 555514 ] New: GreenHopper Kanban Workflow 20141014 [ 744278 ]
            Oswaldo Hernandez (Inactive) made changes -
            Link New: This issue was cloned as JRA-34746 [ JRA-34746 ]

            Hi talk.about,

            I have moved over this issue to the JRA project as JRA-34746, as it seems to be an issue in JIRA itself rather than in the Jira Agile plugin.

            Regards,

            Oswaldo Hernández.
            JIRA Bugmaster.
            [Atlassian].

            Oswaldo Hernandez (Inactive) added a comment - Hi talk.about , I have moved over this issue to the JRA project as JRA-34746 , as it seems to be an issue in JIRA itself rather than in the Jira Agile plugin. Regards, Oswaldo Hernández. JIRA Bugmaster. [Atlassian] .

              Unassigned Unassigned
              d403d295adf5 Talk About
              Affected customers:
              0 This affects my team
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: