Close one active sprint (project_admin, or members with `sprint_control: members` — D141); other active sprints are unaffected (D62)
close_sprintClose one active sprint (project_admin, or members with sprint_control: members — D141); other active sprints are unaffected (D62).
Requires project_admin, or a member when the project's sprint_control is members (agent tokens may close per that role). Closes ONLY the sprint in sprint_id (it must be active); other active sprints and their issues are untouched. Its issues not in a done status move per move_open_issues_to: backlog (default), new_sprint (a new planned sprint right after this one), or an existing PLANNED sprint id — an active sprint is refused (400), so to hand work to another running sprint, close into the backlog and then move_to_sprint those issues.
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 |
|---|---|---|---|
| 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. | |
| sprint_id | Yes | Sprint id `S-{n}`, e.g. `S-12`. | |
| project_key | Yes | Project key, e.g. `KJ`. 2–10 chars, uppercase letters and digits, starts with a letter. | |
| move_open_issues_to | No | Complete sprint: where issues not in a `done`-category status go — `backlog` (default), `new_sprint` (board-core creates the next planned sprint), or the id of an existing planned sprint. | backlog |