Get Issue Worklogs

GET {{baseUrl}}/rest/api/3/issue/:issueIdOrKey/worklog?startAt=0&maxResults=1048576&startedAfter=<long>&expand=

Returns worklogs for an issue, 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.

Request Params

KeyDatatypeRequiredDescription
startAtnumberThe index of the first item to return in a page of results (page offset).
maxResultsnumberThe maximum number of items to return per page.
startedAfterstringThe worklog start date and time, as a UNIX timestamp in milliseconds, after which worklogs are returned.
expandnullUse expand to include additional information about worklogs in the response. This parameter acceptsproperties, which returns worklog properties.

RESPONSES

status: OK

{&quot;startAt&quot;:0,&quot;maxResults&quot;:1,&quot;total&quot;:1,&quot;worklogs&quot;:[{&quot;self&quot;:&quot;https://your-domain.atlassian.net/rest/api/3/issue/10010/worklog/10000&quot;,&quot;author&quot;:{&quot;self&quot;:&quot;https://your-domain.atlassian.net/rest/api/3/user?accountId=5b10a2844c20165700ede21g&quot;,&quot;accountId&quot;:&quot;5b10a2844c20165700ede21g&quot;,&quot;displayName&quot;:&quot;Mia Krystof&quot;,&quot;active&quot;:false},&quot;updateAuthor&quot;:{&quot;self&quot;:&quot;https://your-domain.atlassian.net/rest/api/3/user?accountId=5b10a2844c20165700ede21g&quot;,&quot;accountId&quot;:&quot;5b10a2844c20165700ede21g&quot;,&quot;displayName&quot;:&quot;Mia Krystof&quot;,&quot;active&quot;:false},&quot;comment&quot;:{&quot;type&quot;:&quot;doc&quot;,&quot;version&quot;:1,&quot;content&quot;:[{&quot;type&quot;:&quot;paragraph&quot;,&quot;content&quot;:[{&quot;type&quot;:&quot;text&quot;,&quot;text&quot;:&quot;I did some work here.&quot;}]}]},&quot;updated&quot;:&quot;2020-12-17T01:45:40.269+0000&quot;,&quot;visibility&quot;:{&quot;type&quot;:&quot;group&quot;,&quot;value&quot;:&quot;jira-developers&quot;},&quot;started&quot;:&quot;2020-12-17T01:45:40.269+0000&quot;,&quot;timeSpent&quot;:&quot;3h 20m&quot;,&quot;timeSpentSeconds&quot;:12000,&quot;id&quot;:&quot;100028&quot;,&quot;issueId&quot;:&quot;10002&quot;}]}