public class

WorklogResource

extends Object
java.lang.Object
   ↳ com.atlassian.jira.rest.v2.issue.worklog.WorklogResource

Summary

Public Constructors
WorklogResource(ResponseFactory responseFactory, WorklogService worklogService, JiraAuthenticationContext authenticationContext, WorklogBeanFactory worklogBeanFactory, JiraBaseUrls jiraBaseUrls)
Public Methods
Response getIdsOfWorklogsDeletedSince(Long since)
Returns worklogs id and delete time of worklogs that was deleted since given time.
Response getIdsOfWorklogsModifiedSince(Long since)
Returns worklogs id and update time of worklogs that was updated since given time.
Response getWorklogsForIds(WorklogIdsRequestBean request)
Returns worklogs for given worklog ids.
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public WorklogResource (ResponseFactory responseFactory, WorklogService worklogService, JiraAuthenticationContext authenticationContext, WorklogBeanFactory worklogBeanFactory, JiraBaseUrls jiraBaseUrls)

Public Methods

public Response getIdsOfWorklogsDeletedSince (Long since)

Returns worklogs id and delete time of worklogs that was deleted since given time. The returns set of worklogs is limited to 1000 elements. This API will not return worklogs deleted during last minute.

Parameters
since a date time in unix timestamp format since when deleted worklogs will be returned.
Returns
  • a set of worklogs id and delete time.

public Response getIdsOfWorklogsModifiedSince (Long since)

Returns worklogs id and update time of worklogs that was updated since given time. The returns set of worklogs is limited to 1000 elements. This API will not return worklogs updated during last minute.

Parameters
since a date time in unix timestamp format since when updated worklogs will be returned.
Returns
  • a set of worklogs id and update time.

public Response getWorklogsForIds (WorklogIdsRequestBean request)

Returns worklogs for given worklog ids. Only worklogs to which the calling user has permissions, will be included in the result. The returns set of worklogs is limited to 1000 elements.

Parameters
request a JSON object containing ids of worklogs to return
Returns
  • a set of worklogs for given ids.