Add worklog
add_worklogRecord time spent on a Jira issue by providing issue key and duration (e.g. '1h 30m'). Optionally add a comment or start timestamp.
Instructions
Add a worklog (time spent) to an issue. started is optional and defaults to now when omitted; timeSpent uses Jira format, e.g. '2h 30m' or '1d'.
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": "add_worklog"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| comment | No | Worklog comment (plain text; converted to ADF on Cloud/v3) | |
| started | No | Start timestamp (ISO-8601; Jira defaults it to now when omitted) | |
| issueKey | Yes | Issue key, e.g. PROJ-123 | |
| timeSpent | Yes | Time spent, e.g. '1h 30m' |