add_worklog
Record time spent on a Jira issue by specifying the issue key and duration, plus optional comment and start time.
Instructions
Add a worklog entry to an issue.
Args: issue_key: Issue key (e.g., "KAN-123") time_spent: Time spent string (e.g., "2h 30m", "1d", "4h") comment: Work description started: Start time in ISO format (e.g., "2026-03-24T09:00:00.000+0000")
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": {
"issue_key": "<issue_key>",
"time_spent": "<time_spent>"
},
"name": "add_worklog"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| comment | No | ||
| started | No | ||
| issue_key | Yes | ||
| time_spent | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||