Add a worklog entry
Adds a new worklog entry to an issue.
/api/2/issue/{issueIdOrKey}/worklogAuthorizationBasic 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 will be added to
newEstimatestringRequired when 'new' is selected for adjustEstimate. e.g. "2d"
adjustEstimatestringAllows you to provide specific instructions to update the remaining time estimate of the issue. Valid values are: new, leave, manual, auto
reduceBystringRequired when 'manual' is selected for adjustEstimate. e.g. "2d"
application/jsonWorklog create request
authorUserJsonBeanShow propertiesHide properties
activebooleanavatarUrlsobjectdisplayNamestringemailAddressstringkeystringnamestringselfstringtimeZonestringcommentstringcreatedstringidstringissueIdstringselfstring<uri>startedstringtimeSpentstringtimeSpentSecondsinteger<int64>updateAuthorUserJsonBeanShow propertiesHide properties
activebooleanavatarUrlsobjectdisplayNamestringemailAddressstringkeystringnamestringselfstringtimeZonestringupdatedstringvisibilityVisibilityJsonBeanShow propertiesHide properties
typestringgrouprolevaluestringReturned if add 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 add the worklog.