Skip to main content
Glama

Update Issue

jira_update_issue
DestructiveIdempotent

Update 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

NameRequiredDescriptionDefault
fieldsNoJSON 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"}'
commentNo(Optional) Comment text in Markdown format.
worklogNo(Optional) Time spent to log, such as '1h 30m'.
issue_keyYesJira issue key (e.g., 'PROJ-123', 'ACV2-642')
componentsNo(Optional) Comma-separated list of component names (e.g., 'Frontend,API')
transitionNo(Optional) Transition name or ID. Transition names are resolved case-insensitively.
attachmentsNo(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_fieldsNo(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_startedNo(Optional) ISO datetime when the worklog started.
additional_fieldsNo(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_base64No(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_visibilityNo(Optional) Comment visibility as a JSON string, for example '{"type":"group","value":"jira-users"}'.

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed11 schema fields changedv1.5.0
    • changedInput schema / properties / additional_fields / description
      Previous value: -"(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\"}."New value: +"(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}."
    • changedInput schema / properties / attachments / description
      Previous value: -"(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']"New value: +"(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."
    • addedInput schema / properties / attachments_base64
      Added value: +{
      +  "default": null,
      +  "description": "(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'.",
      +  "type": "string"
      +}
    • addedInput schema / properties / comment
      Added value: +{
      +  "default": null,
      +  "description": "(Optional) Comment text in Markdown format.",
      +  "type": "string"
      +}
    • addedInput schema / properties / comment_visibility
      Added value: +{
      +  "default": null,
      +  "description": "(Optional) Comment visibility as a JSON string, for example '{\"type\":\"group\",\"value\":\"jira-users\"}'.",
      +  "type": "string"
      +}
    • addedInput schema / properties / fields / default
      Added value: +null
    • changedInput schema / properties / fields / description
      Previous value: -"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. Example: '{\"assignee\": \"user@example.com\", \"summary\": \"New Summary\", \"description\": \"## Updated\\nMarkdown text\"}'"New value: +"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\"}'"
    • addedInput schema / properties / transition
      Added value: +{
      +  "default": null,
      +  "description": "(Optional) Transition name or ID. Transition names are resolved case-insensitively.",
      +  "type": "string"
      +}
    • addedInput schema / properties / worklog
      Added value: +{
      +  "default": null,
      +  "description": "(Optional) Time spent to log, such as '1h 30m'.",
      +  "type": "string"
      +}
    • addedInput schema / properties / worklog_started
      Added value: +{
      +  "default": null,
      +  "description": "(Optional) ISO datetime when the worklog started.",
      +  "type": "string"
      +}
    • changedInput schema / required
      Previous value: -[
      -  "issue_key",
      -  "fields"
      -]New value: +[
      +  "issue_key"
      +]
  2. Changed5 schema fields changedv1.4.1
    • addedInput schema / additionalProperties
      Added value: +false
    • changedInput schema / properties / fields / description
      Previous value: -"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\"}'"New value: +"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. Example: '{\"assignee\": \"user@example.com\", \"summary\": \"New Summary\", \"description\": \"## Updated\\nMarkdown text\"}'"
    • changedInput schema / properties / issue_key / pattern
      Previous value: -"^[A-Z][A-Z0-9_]+-\\d+$"New value: +"^[A-Z][A-Z0-9_]+-\\d+(?:-\\d+)*$"
    • addedInput schema / properties / return_fields
      Added value: +{
      +  "default": "*all",
      +  "description": "(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.",
      +  "type": "string"
      +}
    • removedOutput schema / description
      Removed value: -"Generic wrapper for non-object return types."
  3. Addedv1.0.1

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already disclose that this is destructive, idempotent, open-world, and not read-only. The description adds useful context that transition, comment, and worklog operations may be bundled into one update call, but it does not clarify permissions, execution ordering, partial-failure behavior, or side-effect boundaries.

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 description is a single front-loaded sentence with no filler or repetition. It is efficient, though extremely terse for a 12-parameter destructive operation.

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?

The rich schema, annotations, and output schema cover many technical details, so the description does not need to explain every parameter or return value. However, for a complex 12-parameter tool with bundled side effects, it lacks enough guidance about when to use this combined operation versus dedicated sibling tools.

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

Parameters3/5

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

Schema description coverage is 100%, and the parameter descriptions are highly detailed, including formats, examples, and platform-specific behavior. The main description adds no parameter-level meaning beyond restating that transition, comment, and worklog are optional.

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 states a specific verb and resource: updating a Jira issue. It also notes optional bundled operations (transition, comment, worklog), which helps distinguish it from pure read or create tools, though it does not explicitly name sibling alternatives.

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

Usage Guidelines2/5

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

The description gives no explicit when-to-use or when-not-to-use guidance. An agent must infer that this tool is for combined updates, but it does not say when to prefer dedicated tools such as jira_transition_issue, jira_add_comment, or jira_add_worklog.

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

Deploy Server

Other Tools