Create a planned release (D113, D189) — project admin or release manager; an AI agent may too (the token user's rights), with the default gate.
create_releaseCreate a planned release (D113, D189) — project admin or release manager; an AI agent may too (the token user's rights), with the default gate.
Releases must be on for the project (403 feature_disabled) and the company on a paid plan (403 plan_required, details.plan = pro). gate omitted = the default gate: automatic all_passed, no_critical, no_blocked (required) and no_high (optional); manual Release note, Deployment package, Rollback plan (required), CAB approval, Security review (optional). copy_gate_from = start from another release's gate instead (ticks not copied). D189: an agent token (MCP / PAT / OAuth, D144 agent account) may create a release when its user may: it starts planned with the default gate — gate or copy_gate_from from an agent → 403 agent_forbidden (the gate is set by people). The file records created_by_agent. Ticking the gate, locking the baseline, shipping, reopening and deleting stay with people in the web app (core-admin.yaml); board-core refuses them for every agent token.
Create a planned release (D189) only when the user asks for one: name (unique in the project), target_date (the planned production day, YYYY-MM-DD), optional milestones and body, and a short reason. It starts planned with the project's default gate — never send gate or copy_gate_from (403 agent_forbidden): people set the gate in the web app. Needs your user to be a project admin or release manager (else 403 forbidden — tell the user who can), releases on (403 feature_disabled) and a paid plan (403 plan_required). Then put work in with add_to_release. Tell the user the gate, baseline and shipping stay with people in BoardMark.
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 | Yes | ||
| 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). | |
| milestones | No | ||
| project_key | Yes | Project key, e.g. `KJ`. 2–10 chars, uppercase letters and digits, starts with a letter. | |
| target_date | Yes | Calendar date `YYYY-MM-DD` (Asia/Bangkok). | |
| copy_gate_from | No | Release id (spec D113): `R-` + a number, unique in its project; the file is `releases/R-{n}.md`. |