Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Deleted user
0 / 0 points
badges earned

Your Points Tracker
  • Global
  • Feed

Badge for your thoughts?

You're enrolled in our new beta rewards program. Join our group to get the inside scoop and share your feedback.

Join group
Give the gift of kudos
You have 0 kudos available to give
Who do you want to recognize?
Why do you want to recognize them?
Great job appreciating your peers!
Check back soon to give more kudos.

Past Kudos Given
No kudos given
You haven't given any kudos yet. Share the love above and you'll see it here.

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Get issues by project key with all work logs Edited

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.


"id": "15430",
"self": "",
"key": "DHC-157",
"fields": {
"summary": "Display Payment Plan in Cart",
"worklog": {
"startAt": 0,
"maxResults": 20,
"total": 25,
"worklogs": [
"self": "h8",
"author": {


1 answer

1 accepted

0 votes
Answer accepted

Hello @nttinhcmus

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:

The /rest/api/2/issue/<issueKey> endpoint does not respect pagination parameters 

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!

Hello @nttinhcmus

You are welcome! Have a nice day you too and please don't hesitate to contact us again in case you have any other questions. :)

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Jira Service Management

JSM June ask me anything (AMA)

Hello Community members! We’re wrapping up the end of JSM June with an Ask Me Anything (AMA) with the Jira Service Management product team. This is your chance to ask all your ITSM questions to o...

149 views 9 10
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you