Edit a planned release — name, production date, milestones, gate items, description (project admin or release manager; D189: an AI agent only name, date, milestones, description, before the baseline is locked).
update_releaseEdit a planned release — name, production date, milestones, gate items, description (project admin or release manager; D189: an AI agent only name, date, milestones, description, before the baseline is locked).
gate is the complete new list: items kept by id keep their ticks (done_by / done_at); a released release → 409 release_released. D189: an agent token may change only name, target_date, milestones and body, and only while the release is planned and its baseline is not locked — gate from an agent, or a baselined release → 403 agent_forbidden (people decide after the baseline).
Edit a planned release's name, target_date, milestones or body (D189): get_release first and pass its frontmatter.version, change only what the user asked, give a reason. Once a person has locked the baseline, or for the gate, you get 403 agent_forbidden — stop and tell the user a release manager changes it in the web app. A released release → 409 release_released.
WRITE: version = from your latest read (get_issue, list_comments, list_sprints, get_doc, read_file). 409 version_conflict (details.current, details.current_version): re-read, re-apply your change, retry — never overwrite blindly; when the changes disagree, ask the user.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | No | ||
| gate | No | The complete gate list. New manual items get an id from the title when `id` is missing. | |
| name | No | ||
| reason | No | Spec D144: why you make this change (≤ 200 characters). Optional, but give it when you act as an agent account — it is shown in the agent's run log ("moved KJ-12 To Do → In Progress because <reason>"). board-mcp records it in `agent.run`; board-core / board-files accept it and ignore it (it never changes the file, the version or the history). | |
| version | Yes | Optimistic-lock version of the file; +1 on every write. Every write must send the version it read. | |
| milestones | No | ||
| release_id | Yes | Release id (spec D113): `R-` + a number, unique in its project; the file is `releases/R-{n}.md`. | |
| project_key | Yes | Project key, e.g. `KJ`. 2–10 chars, uppercase letters and digits, starts with a letter. | |
| target_date | No | Calendar date `YYYY-MM-DD` (Asia/Bangkok). |