addOrEditJiraIssueWorklog
Log time on a Jira issue or edit an existing worklog by ID. Set time spent, start time, comments, and estimate adjustments.
Instructions
Log time on an work item, or edit an existing worklog.
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": {
"issueIdOrKey": "<issueIdOrKey>"
},
"name": "addOrEditJiraIssueWorklog"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| comment | No | Plain text worklog comment | |
| started | No | ISO-8601 timestamp, e.g. 2025-01-15T09:00:00.000+0000. Defaults to now | |
| reduceBy | No | ||
| timeSpent | No | Jira duration format, e.g. '2h 30m' (alternative to timeSpentSeconds) | |
| worklogId | No | Provide to edit an existing worklog instead of creating one | |
| newEstimate | No | ||
| issueIdOrKey | Yes | ||
| adjustEstimate | No | ||
| timeSpentSeconds | No |