GET /rest/api/2/issue/{issueIdOrKey}/worklog

Returns worklogs for an issue (ordered by created time), starting from the oldest worklog or from the worklog started on or after a date and time.

Time tracking must be enabled in Jira, otherwise this operation returns an error. For more information, see Configuring time tracking.

This operation can be accessed anonymously.

Permissions required: Workloads are only returned where the user has:

Servers

Path parameters

Name Type Required Description
issueIdOrKey String Yes

The ID or key of the issue.

Query parameters

Name Type Required Description
startAt Integer No

The index of the first item to return in a page of results (page offset).

Default value: 0

startedAfter Integer No

The worklog start date and time, as a UNIX timestamp in milliseconds, after which worklogs are returned.

maxResults Integer No

The maximum number of items to return per page.

Default value: 5000

expand String No

Use expand to include additional information about worklogs in the response. This parameter acceptsproperties, which returns worklog properties.

startedBefore Integer No

The worklog start date and time, as a UNIX timestamp in milliseconds, before which worklogs are returned.

How to start integrating

  1. Add HTTP Task to your workflow definition.
  2. Search for the API you want to integrate with and click on the name.
    • This loads the API reference documentation and prepares the Http request settings.
  3. Click Test request to test run your request to the API and see the API's response.