Add Worklog
jira_add_worklogLog time spent on Jira issues to track work progress. Add worklog entries with time spent, comments, and optional estimates for accurate time management.
Instructions
Add a worklog entry to a Jira issue.
Args: ctx: The FastMCP context. issue_key: Jira issue key. time_spent: Time spent in Jira format. comment: Optional comment in Markdown. started: Optional start time in ISO format. original_estimate: Optional new original estimate. remaining_estimate: Optional new remaining estimate.
Returns: JSON string representing the added worklog object.
Raises: ValueError: If in read-only mode or Jira client unavailable.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| issue_key | Yes | Jira issue key (e.g., 'PROJ-123', 'ACV2-642') | |
| time_spent | Yes | Time spent in Jira format. Examples: '1h 30m' (1 hour and 30 minutes), '1d' (1 day), '30m' (30 minutes), '4h' (4 hours) | |
| comment | No | (Optional) Comment for the worklog in Markdown format | |
| started | No | (Optional) Start time in ISO format. If not provided, the current time will be used. Example: '2023-08-01T12:00:00.000+0000' | |
| original_estimate | No | (Optional) New value for the original estimate | |
| remaining_estimate | No | (Optional) New value for the remaining estimate |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |