delete_worklog
Delete worklogs from a Jira issue. Preview changes with a dry run, then confirm to permanently remove the selected worklogs.
Instructions
Xoá 1 hoặc nhiều worklog trên 1 Jira issue. ⚠️ DESTRUCTIVE. BẮT BUỘC chạy dryRun=true trước, show preview cho user, đợi xác nhận rồi mới chạy dryRun=false. adjustEstimate=auto (Jira tự cộng giờ đã xoá vào remaining estimate). Chỉ xoá được worklog của chính mình (hoặc admin). Dùng list_worklogs với detail=true để lấy worklogId.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"issueKey": "<issueKey>",
"worklogIds": "<worklogIds>"
},
"name": "delete_worklog"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| issueKey | Yes | Jira issue key, VD: 'VNPTAI-123' | |
| worklogIds | Yes | Array worklog ID cần xoá. Lấy từ `list_worklogs` với detail=true. | |
| dryRun | No | true = preview, không xoá thật. KHUYẾN CÁO mạnh chạy dryRun trước. |