Skip to content
atlassian-dc-mcp
Esc
↑↓navigate↵open⌘Jpreview

Delete a worklog entry

Deletes an existing worklog entry.

DELETE/api/2/issue/{issueIdOrKey}/worklog/{id}
Authorization
AuthorizationBasic auth · headerrequired

In order to use basic authorization, provide username:password Base64 encoded in the 'Authorization' header.

or
AuthorizationBearer token · headerrequired

Personal Access Token — Administration > Profile > Personal Access Tokens

AuthorizationBasic auth · headerrequired

In order to use basic authorization, provide username:password Base64 encoded in the 'Authorization' header.

Path parameters
issueIdOrKeystringrequired

a string containing the issue id or key the worklog belongs to

idstringrequired

Id of the worklog to be deleted

Query parameters
newEstimatestring

Required when 'new' is selected for adjustEstimate. e.g. "2d"

adjustEstimatestring

Allows you to provide specific instructions to update the remaining time estimate of the issue. Valid values are: new, leave, manual, auto

increaseBystring

Required when 'manual' is selected for adjustEstimate. e.g. "2d"

Responses
204

Returned if delete was successful.

400

Returned if the input is invalid (e.g. missing required fields, invalid values, and so forth).

403

Returned if the calling user does not have permission to delete the worklog.

Try it
Server
Authorization
Parameters
Request
curl -X DELETE 'http://jira.example.com/rest/api/2/issue/string/worklog/string' \
  -H 'Authorization: Basic YOUR_CREDENTIALS'
Response
Returned if delete was successful.

Was this page helpful?