Skip to content

ticket_update

MCP tools › Window and UI driver

Change a ticket in this workspace's store by key (or id); empty assignee or parent clears it. Planning fields (SPEC-0352 v4): estimate, iteration, start, due (YYYY-MM-DD), duration (days), urgent; "" or 0 clears; an agent's planning change needs a person's confirmation. States: proposed → ready → assigned → in_progress → in_review → done, plus blocked, failed, cancelled; assigned needs an assignee, done every criterion met. Dry run by default: returns the changes and approval_needed; dry_run=false needs the ticket-write right, plus a person's confirmation in the window to finish or cancel, change priority, assign someone else, or edit another's title or description, or change the kind to one other than task, bug, finding or question. Each change is logged in the item's history.

Its results carry text from records: the client is told to treat that as data, never as instructions.

Capabilityui.ticket_update
AreaWindow and UI driver
Accesschanges files
Reaches—
Rightsticket-write
Dry rundry_run, on unless the call turns it off

Arguments

ArgumentTypeDescription
keyrequiredstringThe item's key or id.
kindstringNew kind: task, bug, finding, question, epic, milestone, incident, improvement; other than the first four needs a person's confirmation.
titlestringNew title; of an item someone else created it needs a person's confirmation.
descriptionstringNew description; of an item someone else created it needs a person's confirmation.
statestringNew state along the transition table; done and cancelled need a person's confirmation.
prioritystringNew priority; needs a person's confirmation.
assigneestringNew assignee, person:<name> or agent:<name>, or "" to clear; anyone but yourself needs a person's confirmation.
add_labelsarray of stringLabels to add.default []
remove_labelsarray of stringLabels to remove.default []
parentstringKey or id of the new parent, or "" to clear.
add_depends_onarray of stringKeys or ids to depend on.default []
remove_depends_onarray of stringKeys or ids to depend on no more.default []
add_linksarray of objectLinks to add.
add_links[].kindrequiredstringbranch, commit, pull-request, change-set, test-run, agent-session, ticket (a key or id of the store) or attachment (a workspace-relative path or an https:// address).
add_links[].targetrequiredstringWhat it points to.
remove_linksarray of objectLinks to remove.
remove_links[].kindrequiredstringbranch, commit, pull-request, change-set, test-run, agent-session, ticket (a key or id of the store) or attachment (a workspace-relative path or an https:// address).
remove_links[].targetrequiredstringWhat it points to.
criteriaarray of objectThe acceptance criteria, replacing all of them.
criteria[].textrequiredstringWhat must hold (1 to 500 characters, one line).
criteria[].metbooleanWhether it holds (default false).default false
estimateintegerEstimate 1 to 999 in the workspace's unit, 0 to clear; needs a person's confirmation.minimum 0
iterationstringIteration name of the store, "" to clear; needs a person's confirmation.
startstringStart date YYYY-MM-DD, "" to clear; needs a person's confirmation.
duestringDue date YYYY-MM-DD, "" to clear; needs a person's confirmation.
durationintegerDuration in days 1 to 365, 0 to clear; needs a person's confirmation.minimum 0
urgentbooleanUrgent for the Eisenhower matrix; needs a person's confirmation.
dry_runbooleanOnly show what would be written (default true); false writes and needs ticket-write.

Call it from a shell

ferris-idea call runs one tool with the rights and safe mode of ferris-idea mcp. Replace the folder and the placeholder values.

Terminal window
ferris-idea call ~/my-project ticket_update '{"key":"<string>"}'
Input schema as JSON
{
"additionalProperties": false,
"$defs": {
"LinkArg": {
"description": "A link in tool arguments.",
"type": "object",
"properties": {
"kind": {
"description": "branch, commit, pull-request, change-set, test-run, agent-session, ticket (a key or id of\nthe store) or attachment (a workspace-relative path or an https:// address).",
"type": "string"
},
"target": {
"description": "What it points to.",
"type": "string"
}
},
"additionalProperties": false,
"required": [
"kind",
"target"
]
},
"CriterionArg": {
"description": "An acceptance criterion in tool arguments.",
"type": "object",
"properties": {
"text": {
"description": "What must hold (1 to 500 characters, one line).",
"type": "string"
},
"met": {
"description": "Whether it holds (default false).",
"type": "boolean",
"default": false
}
},
"additionalProperties": false,
"required": [
"text"
]
}
},
"required": [
"key"
],
"type": "object",
"properties": {
"key": {
"description": "The item's key or id.",
"type": "string"
},
"kind": {
"description": "New kind: task, bug, finding, question, epic, milestone, incident, improvement; other\nthan the first four needs a person's confirmation.",
"type": [
"string",
"null"
]
},
"title": {
"description": "New title; of an item someone else created it needs a person's confirmation.",
"type": [
"string",
"null"
]
},
"description": {
"description": "New description; of an item someone else created it needs a person's confirmation.",
"type": [
"string",
"null"
]
},
"state": {
"description": "New state along the transition table; done and cancelled need a person's confirmation.",
"type": [
"string",
"null"
]
},
"priority": {
"description": "New priority; needs a person's confirmation.",
"type": [
"string",
"null"
]
},
"assignee": {
"description": "New assignee, `person:<name>` or `agent:<name>`, or \"\" to clear; anyone but yourself\nneeds a person's confirmation.",
"type": [
"string",
"null"
]
},
"add_labels": {
"description": "Labels to add.",
"type": "array",
"items": {
"type": "string"
},
"default": []
},
"remove_labels": {
"description": "Labels to remove.",
"type": "array",
"items": {
"type": "string"
},
"default": []
},
"parent": {
"description": "Key or id of the new parent, or \"\" to clear.",
"type": [
"string",
"null"
]
},
"add_depends_on": {
"description": "Keys or ids to depend on.",
"type": "array",
"items": {
"type": "string"
},
"default": []
},
"remove_depends_on": {
"description": "Keys or ids to depend on no more.",
"type": "array",
"items": {
"type": "string"
},
"default": []
},
"add_links": {
"description": "Links to add.",
"type": "array",
"items": {
"$ref": "#/$defs/LinkArg"
}
},
"remove_links": {
"description": "Links to remove.",
"type": "array",
"items": {
"$ref": "#/$defs/LinkArg"
}
},
"criteria": {
"description": "The acceptance criteria, replacing all of them.",
"type": [
"array",
"null"
],
"items": {
"$ref": "#/$defs/CriterionArg"
}
},
"estimate": {
"description": "Estimate 1 to 999 in the workspace's unit, 0 to clear; needs a person's confirmation.",
"type": [
"integer",
"null"
],
"minimum": 0
},
"iteration": {
"description": "Iteration name of the store, \"\" to clear; needs a person's confirmation.",
"type": [
"string",
"null"
]
},
"start": {
"description": "Start date `YYYY-MM-DD`, \"\" to clear; needs a person's confirmation.",
"type": [
"string",
"null"
]
},
"due": {
"description": "Due date `YYYY-MM-DD`, \"\" to clear; needs a person's confirmation.",
"type": [
"string",
"null"
]
},
"duration": {
"description": "Duration in days 1 to 365, 0 to clear; needs a person's confirmation.",
"type": [
"integer",
"null"
],
"minimum": 0
},
"urgent": {
"description": "Urgent for the Eisenhower matrix; needs a person's confirmation.",
"type": [
"boolean",
"null"
]
},
"dry_run": {
"description": "Only show what would be written (default true); false writes and needs `ticket-write`.",
"type": [
"boolean",
"null"
]
}
}
}