Add a Jira worklog
add_worklogRecord time spent on a Jira issue by providing the issue key and duration in seconds. Optionally set the start time and add a comment.
Instructions
Log work against a Jira issue (POST worklog). issue_key is the ticket (e.g. LEGLINK-142), time_spent_seconds is the duration, started defaults to now (RFC3339; normalized to Jira's required format), and comment is optional. Jira records time at minute granularity (minimum 60s).
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_seconds": "<time_spent_seconds>"
},
"name": "add_worklog"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| comment | No | Optional worklog comment (plain text; stored as ADF). | |
| started | No | When the work started, RFC3339. Default: now. | |
| issue_key | Yes | Jira issue key, e.g. LEGLINK-142. | |
| time_spent_seconds | Yes | Worklog duration in seconds. |