All worklogs for an issue through issue end point

Hi guys,

I have the problem that the rest endpoint for an issue

issue/{ISSUE_KEY}

always returns only the first 20 worklogs. I would like to have all worklogs in the resulting object, is that possible? I need the same also for comments...

Edit: strange thing... the comments are not limited, all of them are returned. Why does the behavior differ between those two lists?

Thanks!

7 answers

As nobody seems to be able to help me on this, should I raise a BUG for it? In my opinion the behavior is kind of inconsistant, espacially looking at worklogs and comments.

An answer from Atlassian support would be nice at this point, thanks!

Thanks for this answer. I already read this post, but the solution mentioned there "using the tempo rest api" does not solve my problem. Anyways, I really think that this behavior should be corrected so that comments and worklogs are returned the same way.

In that thread, it mentioned "Recursive calls would be fine, but I am not sure that I see a way to do it using only the Java API.", perhaps you can try to use the jira rest client, https://marketplace.atlassian.com/plugins/com.atlassian.jira.jira-rest-java-client

I am not using Java so this is not a solution for me, but thanks for your answer!

0 votes
Pedro Cora Atlassian Team Sep 10, 2013

What is the version of your JIRA? I just tested this and got more than 20 entries.

Hi Pedro,

this is very interesting. We are using jira as onDemand service in the version "Atlassian JIRA v6.1-OD-06-1".

Thanks for your answer!

Suggest an answer

Log in or Join to answer
Community showcase
Sarah Schuster
Posted Jan 29, 2018 in Jira

What are common themes you've seen across successful & failed Jira Software implementations?

Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...

2,755 views 11 18
Join discussion

Atlassian User Groups

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

Find a group

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

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot