Skip to content

worklog

get-for-ids

Get worklogs

Returns worklog details for a list of worklog IDs.

The returned list of worklogs is limited to 1000 items.

Permissions required: Permission to access Jira, however, worklogs are only returned where either of the following is true:

  • the worklog is set as Viewable by All Users.
  • the user is a member of a project role or group with permission to view the worklog.

POST /rest/api/3/worklog/list

FlagTypeRequiredDescription
--bodystringNorequest body (JSON string, @file, or - for stdin)
--expandstringNoUse expand to include additional information about worklogs in the response. This parameter accepts properties that returns the properties of each worklog.

Example:

bash
jr worklog get-for-ids

get-ids-of-worklogs-deleted-since

Get IDs of deleted worklogs

Returns a list of IDs and delete timestamps for worklogs deleted after a date and time.

This resource is paginated, with a limit of 1000 worklogs per page. Each page lists worklogs from oldest to youngest. If the number of items in the date range exceeds 1000, until indicates the timestamp of the youngest item on the page. Also, nextPage provides the URL for the next page of worklogs. The lastPage parameter is set to true on the last page of worklogs.

This resource does not return worklogs deleted during the minute preceding the request.

Permissions required: Permission to access Jira.

GET /rest/api/3/worklog/deleted

FlagTypeRequiredDescription
--sincestringNoThe date and time, as a UNIX timestamp in milliseconds, after which deleted worklogs are returned.

Example:

bash
jr worklog get-ids-of-worklogs-deleted-since

get-ids-of-worklogs-modified-since

Get IDs of updated worklogs

Returns a list of IDs and update timestamps for worklogs updated after a date and time.

This resource is paginated, with a limit of 1000 worklogs per page. Each page lists worklogs from oldest to youngest. If the number of items in the date range exceeds 1000, until indicates the timestamp of the youngest item on the page. Also, nextPage provides the URL for the next page of worklogs. The lastPage parameter is set to true on the last page of worklogs.

This resource does not return worklogs updated during the minute preceding the request.

Permissions required: Permission to access Jira, however, worklogs are only returned where either of the following is true:

  • the worklog is set as Viewable by All Users.
  • the user is a member of a project role or group with permission to view the worklog.

GET /rest/api/3/worklog/updated

FlagTypeRequiredDescription
--expandstringNoUse expand to include additional information about worklogs in the response. This parameter accepts properties that returns the properties of each worklog.
--sincestringNoThe date and time, as a UNIX timestamp in milliseconds, after which updated worklogs are returned.

Example:

bash
jr worklog get-ids-of-worklogs-modified-since