Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,556,334
Community Members
 
Community Events
184
Community Groups

Worklog Pagination

I'm trying to use the JIRA Cloud API to generate Excel timesheets for my people.  I can list the issue for each person with the search api, but I don't see a way to control the pagination of the worklog items within those results.  I also tried taking that list of issues and trying to get the worklog with a URL like https://{company}.atlassian.net/rest/api/2/issue/{key}/worklog.  This gives me the information I want, but the results look like they could be paginated.  I don't currently have an example with more than about 80 worklogs, so I can't be sure if the results are paginated or not.

I therefore have two questions:

  • Are the results of getting an issue's worklog in this manner actually paginated?
  • If so, how does one control the pagination?  I tried adding startAt and maxResults parameters (which work for the search api), but they didn't do anything to the worklog list.

Thanks.

 

2 answers

1 vote
Volodymyr Krupach
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
Mar 10, 2017

worklog REST method does not support pagination and it returns all worklogs for the srlected issue.

Jon Bevan _Adaptavist_
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
Mar 12, 2017

According to the documentation, it looks like Volodymyr is right.

but what if there are more than 1000 worklogs? 

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events