Returns a worklog.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:
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 Request Example
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
curl--location--request GET 'http://jira.local:8080/jira/rest//rest/api/3/issue//worklog/'
Response Response Example
200 - Success
{"self":"https://your-domain.atlassian.net/rest/api/3/issue/10010/worklog/10000","author":{"self":"https://your-domain.atlassian.net/rest/api/3/user?accountId=5b10a2844c20165700ede21g","accountId":"5b10a2844c20165700ede21g","displayName":"Mia Krystof","active":false},"updateAuthor":{"self":"https://your-domain.atlassian.net/rest/api/3/user?accountId=5b10a2844c20165700ede21g","accountId":"5b10a2844c20165700ede21g","displayName":"Mia Krystof","active":false},"comment":{"type":"doc","version":1,"content":[{"type":"paragraph","content":[{"type":"text","text":"I did some work here."}]}]},"updated":"2021-01-18T23:45:00.000+0000","visibility":{"type":"group","value":"jira-developers","identifier":"276f955c-63d7-42c8-9520-92d01dca0625"},"started":"2021-01-17T12:34:00.000+0000","timeSpent":"3h 20m","timeSpentSeconds":12000,"id":"100028","issueId":"10002"}
Request
Path Params
Query Params
Responses
🟢200Returned if the request is successful.
application/json
Body
🟠401Returned if the authentication credentials are incorrect.
🟠404Returned if:
* the issue is not found or the user does not have permission to view it.
* the worklog is not found or the user does not have permission to view it.
* time tracking is disabled.
.