Get Worklogs

POST {{baseUrl}}/rest/api/3/worklog/list?expand=

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.

Request Params

KeyDatatypeRequiredDescription
expandnullUse expand to include additional information about worklogs in the response. This parameter accepts properties that returns the properties of each worklog.

Request Body

{"ids"=>["<long>"]}

HEADERS

KeyDatatypeRequiredDescription
Content-Typestring

RESPONSES

status: OK

[{&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;}]