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 vote
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
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Julia Dillon
Posted Tuesday in Jira

Tell us how your team runs on Jira!

Hey Atlassian Community! Today we are launching a bunch of customer stories about the amazing work teams, like Dropbox and Twilio, are doing with Jira. You can check out the stories here. The thi...

243 views 1 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