Update a worklog entry
Updates an existing worklog entry. Note that:
- Fields possible for editing are: comment, visibility, started, timeSpent and timeSpentSeconds.
- Either timeSpent or timeSpentSeconds can be set.
- Fields which are not set will not be updated.
- For a request to be valid, it has to have at least one field change.
/api/2/issue/{issueIdOrKey}/worklog/{id}AuthorizationBasic auth · headerrequiredIn order to use basic authorization, provide username:password Base64 encoded in the 'Authorization' header.
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.
issueIdOrKeystringrequireda string containing the issue id or key the worklog belongs to
idstringrequiredid of the worklog to be updated
newEstimatestringrequired when 'new' is selected for adjustEstimate
adjustEstimatestringallows you to provide specific instructions to update the remaining time estimate of the issue. Valid values are: new, leave, auto
application/jsonWorklog update request
authorUserJsonBeanShow propertiesHide properties
activebooleanavatarUrlsobjectdisplayNamestringemailAddressstringkeystringnamestringselfstringtimeZonestringcommentstringcreatedstringidstringissueIdstringselfstring<uri>startedstringtimeSpentstringtimeSpentSecondsinteger<int64>updateAuthorUserJsonBeanShow propertiesHide properties
activebooleanavatarUrlsobjectdisplayNamestringemailAddressstringkeystringnamestringselfstringtimeZonestringupdatedstringvisibilityVisibilityJsonBeanShow propertiesHide properties
typestringgrouprolevaluestringReturned if update was successful.
authorUserJsonBeanShow propertiesHide properties
activebooleanavatarUrlsobjectdisplayNamestringemailAddressstringkeystringnamestringselfstringtimeZonestringcommentstringcreatedstringidstringissueIdstringselfstring<uri>startedstringtimeSpentstringtimeSpentSecondsinteger<int64>updateAuthorUserJsonBeanShow propertiesHide properties
activebooleanavatarUrlsobjectdisplayNamestringemailAddressstringkeystringnamestringselfstringtimeZonestringupdatedstringvisibilityVisibilityJsonBeanShow propertiesHide properties
typestringgrouprolevaluestringReturned if the input is invalid (e.g. missing required fields, invalid values, and so forth).
Returned if the calling user does not have permission to update the worklog.