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:
- Browse projects project permission for the project that the issue is in.
- If issue-level security is configured, issue-level security permission to view the issue.
- If the worklog has visibility restrictions, belongs to the group or has the role visibility is restricted to.
Servers
- https://your-domain.atlassian.net
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 accepts |
startedBefore |
Integer | No |
The worklog start date and time, as a UNIX timestamp in milliseconds, before which worklogs are returned. |
How to start integrating
- Add HTTP Task to your workflow definition.
- 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.
- Click Test request to test run your request to the API and see the API's response.