Rest api to acces worklogs and filtering,


I try to get the worklogs for issue via rest api.

I give a try using the following api:

/rest/api/2/search?jql=key in workedIssues("2014/12/08", "2014/12/16", "username")&fields=worklog

the matter with this call is that the api return issue filter by date and name, but worklogs inside the issue is not filter by the date and name. So when I ask for december issue, I get back January issue first, and other users I don't want. Also, result in worklogs are constraint by page size, and I get only the first 20 results. I don't find anyway to get next page results.

I know I could also use this api:


The matter with this one is that i don't find anyway to limits the results. I don't find a way to give a filter on the date, or on the user. The apis don't seems also to support the startAt and maxResults parameters. This is really bad for us, because we have issues with lot of worklogs (around ~5000), and network operations are very slow in this case.


Do you know if there is any other ways to get worklogs for a specific users and period, or if i can do pagination on any of this two request worklogs ?

If no, do you have any enhancement plan for this API ?





1 answer

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published Thursday in Jira

5 ways you can make the most of Jira Software and Bitbucket Cloud

As part of the Bitbucket product team I'm always interested in better understanding what kind of impact the use of our tools have on the way you work. In a recent study we conducted of software devel...

64 views 0 5
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