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 must be the version from your latest read of this file (get_issue for issues, list_comments for comments, list_sprints for sprints, get_doc for project docs, read_file for md files). If the file changed since, the call fails with 409 version_conflict and the error contains the current file (details.current, details.current_version): re-read it, re-apply your change on top of the current content and retry with the new version. Never overwrite someone else's change blindly — if your change and theirs disagree, ask the user which to keep.
You act with exactly the rights of the user who owns this token; a project you cannot see returns not_found.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| 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 |