Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

How to query paginated worklog list via JIRA REST API

Jakub Kaisner
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
February 1, 2022

Hi,

We need to get a list of all worklogs tied to a concrete Jira task.

We are using GET request: https://issues.<our domain>/rest/api/2/search?jql=project=MDT&fields=worklog. It works fine, but it has a hard set limit of 20 worklog records in a response.

Is there any option, how to set higher pagination limit (maxResults) or query next page in the query?

It can be done for list of issues by adding start_at or maxResults parameters to the query. But how can we query next page of the worklog list (marked yellow in the image of sample result attached)?

Thank you

Jakub

paginated worklog.png

0 answers

Suggest an answer

Log in or Sign up to answer