Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.


Code Block
JIRA_URL/rest/jttp-rest/latest/worklog-query/worklogQuery?filterConditionJson={"groupUsers":["users:testUser"],"worklogEndDate":2017-12-16,"worklogStartDate":2017-11-24,"jql":"Project='Project'"}


It returns each worklog created by the testuser between 2017.11.24 and 2017.12.16 16  and based on the provided JQL expression according to the permissions of user running the query.

A possible response:


Code Block
[
	{
		"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"
		}
	}
]