JQL Example
JIRA_URL/rest/jttp-rest/latest/worklog-query/jql?groupUsers=[users:testUser,users:testUser1]&worklogStartDate=2017-11-24&worklogEndDate=2017-12-16&jql=Project=Project JIRA_URL/rest/jttp-rest/latest/worklog-query/jql?groupUsers=users:testUser&groupUsers=users:testUser1&worklogStartDate=2017-11-24&worklogEndDate=2017-12-16&jql=Project=Project
It returns each worklog created by the test user between 2017.11.24 and 2017.12.16Â and based on the provided JQL expression according to the permissions of the user running the query.
A possible response:
[ { "customFields":{ "Epic Colour":"ghx-label-9", "Epic Status":"To Do", "Rank":"0|i0001b:", "Sprint":"", "Epic Name":"EpicName", "Epic Link":"", "Story Points":"" }, "details":{ "issueAffectedVersions":["1.0.2"], "issueAssignee":"testUser", "issueComponents":[], "issueCreated":"Nov 25, 2017 9:10:04 AM", "issueFixedVersions":["1.0.3"], "issueKey":"ISSUE", "issueOriginalEstimate":3600, "issueRemainingEstimate":240, "issueReporter":"testUser", "issueStatusName":"To Do", "issueSummary":"Test Issue", "issueTypeName":"Epic", "issueUpdated":"Nov 26, 2017 9:17:40 AM", "labels":[], "priorityName":"Medium", "projectName":"Project", "subTasks":[], "worklogBody":"Test worklog", "worklogCreated":"Nov 26, 2017 9:17:40 AM", "worklogStartDate":"Nov 26, 2017 8:00:00 AM", "worklogTimeWorked":480, "worklogUpdated":"Nov 26, 2017 9:17:40 AM", "worklogUser":"testUser" } } ]