Skip to main content
Glama
Redmine MCP Server

Redmine MCP Server

by popper2710

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

NameRequiredDescriptionDefault
notesNo
subjectNo
uploadsNo
due_dateNo
issue_idYes
status_idNo
done_ratioNo
is_privateNo
project_idNo
start_dateNo
tracker_idNo
category_idNo
descriptionNo
priority_idNo
custom_fieldsNo
private_notesNo
assigned_to_idNo
estimated_hoursNo
parent_issue_idNo
fixed_version_idNo
watcher_user_idsNo
description_patchesNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.3/5.0
Behavior5/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

This tool has no annotations, so the description fully carries the behavioral burden, and it does: watcher_user_ids is add-only and never removes existing watchers (Redmine 2.3.0+), the response description is truncated unless changed, and RedmineError is raised with the discarded fields listed when workflow or permission rules silently drop a field. That is exactly the kind of hidden failure mode an agent needs surfaced.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The structure is strong: a one-line purpose, then a dedicated section for the mutually exclusive description approaches, then per-argument notes, then Returns and Raises. The only flaw is redundancy: the description_patches format and the 'cannot be used together with description' rule are repeated nearly verbatim in both the top section and the Args block.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a 22-parameter mutation with no annotations and no output schema, the description does unusually well: it documents the return shape and the error behavior. The gaps are elsewhere. It does not say whether updates are partial or full replacement, and it does not mention concurrency or idempotency, which matter for a multi-field update.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 0% across 22 parameters, so the description must compensate and it does: nearly every parameter is glossed, formats are spelled out (YYYY-MM-DD, float hours, 0-100 done_ratio), the patch dict structure is shown with an example, and the uploads dict enumerates token, filename, content_type, and description with which are required. The description is the only source of parameter meaning here.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description opens with a specific verb and resource: 'Update an existing issue (ticket).' That clearly separates it from create_issue and get_issue, which appear alongside it. It never explicitly names an alternative, so the sibling differentiation is implicit rather than stated.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It gives concrete operational guidance: the two description-editing approaches are mutually exclusive, 'do NOT provide both,' and it says to call get_issue() first to see the exact current content before building patches. It does not say when to use this rather than update_issue_journal or create_issue, so the alternative-routing guidance is incomplete.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.