Get a worklog by id
Returns a specific worklog. The work log won’t be returned if the Log work field is hidden for the project.
GET
/api/2/issue/{issueIdOrKey}/worklog/{id}Authorization
AuthorizationBasic auth · headerrequiredIn order to use basic authorization, provide username:password Base64 encoded in the 'Authorization' header.
or
AuthorizationBearer token · headerrequiredPersonal Access Token — Administration > Profile > Personal Access Tokens
AuthorizationBasic auth · headerrequiredIn order to use basic authorization, provide username:password Base64 encoded in the 'Authorization' header.
Path parameters
issueIdOrKeystringrequiredIssue id or key
idstringrequiredWorklog id
Responses
200
Returns a response containing a worklog.
authorUserJsonBeanShow propertiesHide properties
activebooleanavatarUrlsobjectdisplayNamestringemailAddressstringkeystringnamestringselfstringtimeZonestringcommentstringcreatedstringidstringissueIdstringselfstring<uri>startedstringtimeSpentstringtimeSpentSecondsinteger<int64>updateAuthorUserJsonBeanShow propertiesHide properties
activebooleanavatarUrlsobjectdisplayNamestringemailAddressstringkeystringnamestringselfstringtimeZonestringupdatedstringvisibilityVisibilityJsonBeanShow propertiesHide properties
typestringAllowed:
grouprolevaluestring404
Returned if the work log with the given id does not exist or if the currently authenticated user does not have permission to view it.