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 Sign up to answer
Community showcase
Published Nov 27, 2018 in Portfolio for Jira

Introducing a new planning experience in Portfolio for Jira (Server/DC)

In the past, Portfolio for Jira required a high degree of detail–foresight that was unrealistic for many businesses to   have–in   order to produce a reliable long-term roadmap. We're tur...

2,777 views 18 21
Read article

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