Example 1
JIRA_URL/rest/jira-worklog-query/1/find/worklogs?startDate=2012-12-12&endDate=2013-01-12&user=testuser
It returns each worklog created by the testuser between 2012.12.12 and 2013.01.12 according to the permissions of user running the query.
A possible response:
[[ { "id":11000, "duration":14400, "startDate":"2013-01-07T08:00:00Z", "userId":"testuser", "issueKey":"TEST-1" }, { "id":11100, "duration":17100, "startDate":"2013-01-08T08:30:00Z", "userId":"testuser", "issueKey":"TEST-1" } ]]
Example response with added "fields=comment" parameter:
[[ { "id": 103849, "startDate": "2015-01-10T10:15:00+0100", "issueKey": "TEST-7", "userId": "test@everit.biz", "duration": 3900, "comment": "Comment of test worklog" }, { "id": 103947, "startDate": "2015-01-10T00:00:00+0100", "issueKey": "TEST-38", "userId": "test@everit.biz", "duration": 17100, "comment": "Some important comment" } ]]