cURL
curl --request PATCH \ --url https://api.plane.so/api/v1/workspaces/:workspace-slug/projects/:project_id/issues/:issue_id/worklogs/:worklog_id/ \ --header 'Content-Type: application/json' \ --header 'x-api-key: <api-key>' \ --data '{ "description": "<string>", "duration": 123 }'
Update an existing worklog entry. You can change the description or duration of the worklog.
https://app.plane.so/my-team/projects/
my-team
{ "id": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx", "created_at": "2025-01-29T21:27:54.197306+05:30", "updated_at": "2025-01-29T21:27:54.197320+05:30", "description": "Added user story", "duration": 2, "created_by": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx", "updated_by": null, "project_id": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx", "workspace_id": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx", "logged_by": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" }