Add worklog
jira_add_worklogLog work time on a Jira issue using duration strings or decimal hours, and control how the remaining estimate is updated. Optionally add a comment and set the work start date or time.
Instructions
Log work time on an issue. timeSpent is a Jira duration string ('3h 30m') or decimal hours ('8.05' / 8.05 -> '8h 3m'). adjustEstimate controls how the remaining estimate is updated (auto/leave/new/manual; new+manual need newValue). started accepts a full ISO timestamp or a YYYY-MM-DD date (then startedHour, default '07:30', provides the time-of-day).
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>",
"timeSpent": "<timeSpent>"
},
"name": "jira_add_worklog"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| comment | No | Optional worklog comment | |
| started | No | Work start date: full ISO 8601 ('2026-01-14T10:33:00.000+0000') or date-only 'YYYY-MM-DD' (time-of-day then comes from startedHour) | |
| issueKey | Yes | Issue key, e.g. 'ABC-123' | |
| newValue | No | Estimate string required for adjustEstimate='new'|'manual' (e.g. '1d 2h') | |
| timeSpent | Yes | Jira duration ('3h 30m') or decimal hours ('8.05' or 8.05 -> '8h 3m') | |
| startedHour | No | Time-of-day "HH:mm" used when started is date-only (default "07:30") | |
| adjustEstimate | No | auto: reduce remaining estimate by logged time; leave: keep; new: set a new total (needs newValue); manual: subtract newValue | auto |