Add worklog
jira_add_worklogLog work against a Jira issue by providing time spent and an optional comment. Use seconds or a duration like '2h 30m'; start time defaults to now.
Instructions
Log work against one issue. Pass exactly one of timeSpentSeconds (preferred) or timeSpent ("2h 30m"). started defaults to now and takes YYYY-MM-DDTHH:mm:ss with or without an offset: without one it is read in the authenticated user's Jira timezone, not the server's, and the request always carries an explicit offset because Jira rejects a Z timestamp.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| apply | No | Set true to EXECUTE this write. Omit (or false) to get a plan of the request that would be sent. Executing also requires the server to run with JIRA_WRITE_MODE=apply. | |
| issue | Yes | Issue key (PROJ-123) or numeric issue id. | |
| format | No | How to interpret a string rich-text input: "text" (default — blank lines split paragraphs, single newlines are hard breaks) or "markdown" (the documented subset: headings, lists, code fences, bold/italic/code, links). Refused alongside a raw ADF document. | |
| comment | No | Worklog comment; text or ADF. | |
| plan_id | No | The single-use id returned by the preceding plan-mode call. Required together with apply: true; a mismatch means the arguments changed since the plan, and the write is refused rather than executed. | |
| profile | No | Named credential profile for this call. Omit to use the active profile. Rejected when the server locks the profile (JIRA_LOCK_PROFILE). | |
| started | No | When the work started; defaults to now. Without an offset the value is read in the authenticated user's Jira timezone. | |
| timeSpent | No | Jira duration string, e.g. "2h 30m". Mutually exclusive with the above. | |
| timeSpentSeconds | No | Preferred. Mutually exclusive with timeSpent. |