REST API to get users work logs at once for the particular period

Derick Katipearachchi May 17, 2016

Hi,

I have an requirement to to get users work logs for the given period. may be it will be for some group as well.

Is there any good API?

I have used following with the time add-on we installed. But it crashes when we try to get data for group(13 users). Also we cannot get worklogs directly for the user.

 

rest/api/2/search?fields=project,issuetype,summary,priority,status,parent,issuelinks,timeoriginalestimate,timeestimate,timespent,worklog,customfield_10200,workeduser&maxResults=1000&jql=worklogDate%3E%3D%222016-04-30%22%20and%20worklogDate%3C%3D%222016-05-07%22%20and%20worklogAuthor%3D%22username%22&startAt=0&_=1463042373116

 

Regards,

Samantha

1 answer

0 votes
Ignacio Pulgar
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
May 17, 2016

This document will help you getting the worklogs.

Alternatively, you can just pay $10 USD / month (or $5 USD for up to 50 users) for the Time Reports addon.

Derick Katipearachchi May 18, 2016

Thanks Ignacio.

But above API returns worklogs of given issue.

I want to get all worklogs that has been created by given user for the given period.

Any feedback on this requirement.

We already purchased the add-on ($10).

Regards,

Samantha

Suggest an answer

Log in or Sign up to answer