Update Issue
jira_update_issueUpdate Jira issues: modify fields, status, epic links, components, and attach files using JSON input.
Instructions
Update an existing Jira issue including changing status, adding Epic links, updating fields, etc.
Args: ctx: The FastMCP context. issue_key: Jira issue key. fields: JSON string of fields to update. Text fields like 'description' should use Markdown format. additional_fields: Optional JSON string of additional fields. components: Comma-separated list of component names. attachments: Optional JSON array string or comma-separated list of file paths.
Returns: JSON string representing the updated issue object and attachment results.
Raises: ValueError: If in read-only mode or Jira client unavailable, or invalid input.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fields | Yes | JSON string of fields to update. For 'assignee', provide a string identifier (email, name, or accountId). For 'description', provide text in Markdown format. Example: '{"assignee": "user@example.com", "summary": "New Summary", "description": "## Updated\nMarkdown text"}' | |
| 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') | |
| 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'] | |
| 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"}. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |