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).
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. |