Update Issue
jira_update_issueUpdate Jira issue fields, transition status, add comments, attach files, or log work in a single call.
Instructions
Update an issue and optionally transition, comment, and log work.
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>"
},
"name": "jira_update_issue"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fields | No | JSON string of fields to update. For 'assignee', provide a string identifier (email, name, or accountId). For 'description', provide text in Markdown format; on Jira Cloud, use '{expand:Title}...{expand}' for a collapsible section and '{status:color=green|title=Done}' for an inline status lozenge. On Jira Cloud only, for 'parent', provide an issue key or {"key": "PROJ-123"} to set the parent, or null to clear it. On Server/DC, clear an Epic Link by updating its custom field directly, such as {"customfield_10014": null}. Example: '{"assignee": "user@example.com", "summary": "New Summary", "description": "## Updated\nMarkdown text"}' | |
| comment | No | (Optional) Comment text in Markdown format. | |
| worklog | No | (Optional) Time spent to log, such as '1h 30m'. | |
| issue_key | Yes | Jira issue key (e.g., 'PROJ-123', 'ACV2-642') | |
| components | No | (Optional) Comma-separated list of component names (e.g., 'Frontend,API') | |
| transition | No | (Optional) Transition name or ID. Transition names are resolved case-insensitively. | |
| attachments | No | (Optional) JSON string array or comma-separated list of file paths to attach to the issue. Example: '/path/to/file1.txt,/path/to/file2.txt' or ['/path/to/file1.txt','/path/to/file2.txt']. Requires the server to be able to read the paths; for remote or containerized servers use 'attachments_base64' instead. | |
| return_fields | No | (Optional) Controls which fields of the updated issue are returned, to reduce response size and token usage. Defaults to '*all' (the complete issue, which can be very large). TOKEN-SAVING TIP: after an update you usually do NOT need the whole issue back. Pass a comma-separated list of just the field(s) you care about (e.g., 'summary,duedate'), or a single light field such as 'status' for a minimal confirmation - this can cut the response by thousands of tokens. The issue 'key' is always returned regardless. If you later need other fields, fetch them on demand with jira_get_issue (which also supports field filtering). Use '*all' only when you genuinely need the full updated issue. | *all |
| worklog_started | No | (Optional) ISO datetime when the worklog started. | |
| additional_fields | No | (Optional) JSON string of additional fields to update. Use this for custom fields or more complex updates. Link to epic: {"epicKey": "EPIC-123"} or {"epic_link": "EPIC-123"}. On Jira Cloud, set a parent with {"parent": "PROJ-123"} and clear it with {"parent": null}. On Server/DC, clear an Epic Link by updating its custom field directly, such as {"customfield_10014": null}. | |
| attachments_base64 | No | (Optional) JSON string array of files to attach as base64-encoded content, without the server reading from disk. Use this when the server cannot access host file paths (e.g. a remote or containerized MCP server). Each entry needs 'filename' and 'content_base64'. Example: '[{"filename": "hello.txt", "content_base64": "SGVsbG8="}]'. Can be combined with 'attachments'. | |
| comment_visibility | No | (Optional) Comment visibility as a JSON string, for example '{"type":"group","value":"jira-users"}'. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |