Document toolboxDocument toolbox

Example 2

JIRA_URL/rest/jira-worklog-query/1/find/worklogs?startDate=2012-12-12&group=test group&project=TEST

From 2012.12.12 till today (let the current example date be 2013.01.30), the testgroup members’ worklogs that belong to the project with the TEST key are all returned. In case the authenticated user has no permission to access the project, an empty list is returned.

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"
  },
  {
    "id":11110,
    "duration":17100,
    "startDate":"2013-01-09T08:30:00Z",
    "userId":"testUser2",
    "issueKey":"TEST-2"
  }
]]

In this example, testUser and testUser2 are members of the test group. The issues with the codes TEST-1 and TEST-2 belong to the TEST project.