jira_add_worklog
Add a worklog entry to a Jira issue to track time spent, with Jira-style durations, optional ISO 8601 start time, and Markdown comments.
Instructions
Add a worklog entry (time tracking). timeSpent uses Jira units: w (week), d (day, 8h by default), h (hour), m (minute). started must be ISO 8601 with millisecond and timezone offset, e.g. "2024-01-15T09:00:00.000+0000" (NOT a Z-terminated ISO). If omitted, server uses now.
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 | Worklog comment in Markdown. | |
| started | No | Start time as ISO 8601 with millis and offset, e.g. "2024-01-15T09:00:00.000+0000". Defaults to now. | |
| issueKey | Yes | Issue key (e.g., PROJ-123) | |
| timeSpent | Yes | Jira-style duration. Examples: "2h 30m", "1d", "45m", "3w 2d". Max units w/d/h/m. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | ||
| message | No | ||
| success | Yes |