You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
Hey guys, I am using JIRA api version 7.6.1 on method GET /rest/api/2/search.
My problem is the number of work logs received is only 20 as default.
Is there away to get all work logs inside an issue. As In the image I have 25 work logs for the issue but can get only 20.
"summary": "Display Payment Plan in Cart",
Thank you for reaching out.
Indeed, the Rest API call /rest/api/2/search is limited to 20 worklog entries per issue. We have a bug reported about this behavior here:
Feel free to vote and watch the bug to increase its priority and also receive notifications about its fix implementation.
As a workaround, you can use the /rest/api/2/issue/<issueKey>/worklog endpoint to list all worklogs for a given issue. Additional manipulation will be required by the REST consumer to sort or filter those results; as that endpoint does not support pagination either. Please see JRASERVER-69308 for more details.
Let us know if you have any questions.
Thank you @Petter Gonçalves for the answer. It's very clear to me.
I have the same idea of using the /rest/api/2/issue/<issueKey>/worklog endpoint to list all worklogs but what I concern is the performance.
Btw, I have to go on that way.
Thank you again and have a nice day!