update_issue
Update an existing Redmine issue's fields, description, notes, watchers, or attachments, and report any requested changes discarded by workflow or permission rules.
Instructions
Update an existing issue (ticket).
DESCRIPTION UPDATES - two approaches (mutually exclusive, do NOT provide both):
- description: Replace the entire description with new text.
- description_patches: Apply targeted find-and-replace edits to the existing description.
Format: [{"old_text": "text to find", "new_text": "replacement"}]
Optional "replace_all": true to replace all occurrences (default: false).
Args:
issue_id: Issue ID to update (required)
project_id: Project ID (numeric) or identifier (string) to move the issue to another project (optional)
subject: New subject/title (optional)
description: New description - replaces entire content (optional).
Cannot be used together with description_patches.
description_patches: List of find-and-replace edits for the existing description (optional).
Each dict: {"old_text": "text to find", "new_text": "replacement"}.
Optional "replace_all": true to replace all occurrences (default: false).
Example: [{"old_text": "Status: Draft", "new_text": "Status: Final"}]
IMPORTANT: Use get_issue() first to see exact current content before constructing patches.
Cannot be used together with description.
tracker_id: New tracker ID (optional)
status_id: New status ID (optional)
priority_id: New priority ID (optional)
assigned_to_id: New assigned user ID (optional)
category_id: New category ID (optional)
fixed_version_id: New target version ID (optional)
parent_issue_id: New parent issue ID (optional)
start_date: New start date in YYYY-MM-DD format (optional)
due_date: New due date in YYYY-MM-DD format (optional)
estimated_hours: New estimated hours as float (optional)
done_ratio: Progress percentage 0-100 (optional)
is_private: Whether the issue is private (optional)
watcher_user_ids: User IDs to add as watchers (optional; add-only,
never removes existing watchers; requires Redmine 2.3.0+)
custom_fields: List of custom field dictionaries with 'id' and 'value' keys (optional)
notes: Comment to add to the issue history (optional)
private_notes: Whether the notes are private (optional)
uploads: List of file uploads to attach. Each upload should be a dictionary with:
- token: Upload token from upload_attachment() (required)
- filename: Filename to use in Redmine (required)
- content_type: MIME type (optional, e.g., "application/pdf")
- description: File description (optional)
Returns:
Dictionary containing the updated issue (fetched back after the
update). The description is truncated in the response unless this
update changed it; use get_issue() for the full text.
Raises:
RedmineError: If Redmine silently discarded any requested field
(workflow/permission rules, e.g. a status transition not allowed
for your role). The error lists the discarded fields and, when
available, the allowed statuses.
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_id": "<issue_id>"
},
"name": "update_issue"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| notes | No | ||
| subject | No | ||
| uploads | No | ||
| due_date | No | ||
| issue_id | Yes | ||
| status_id | No | ||
| done_ratio | No | ||
| is_private | No | ||
| project_id | No | ||
| start_date | No | ||
| tracker_id | No | ||
| category_id | No | ||
| description | No | ||
| priority_id | No | ||
| custom_fields | No | ||
| private_notes | No | ||
| assigned_to_id | No | ||
| estimated_hours | No | ||
| parent_issue_id | No | ||
| fixed_version_id | No | ||
| watcher_user_ids | No | ||
| description_patches | No |