Add support for linking issues to Projects and Milestones #22
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Problem
The MCP can create and list issues, labels and milestones, but it cannot associate an existing issue with a Project (Kanban board) or a Milestone. This came up while planning Driftwell Sprint 1: 7 issues were created via the MCP, but they could not be added to the existing "Sprint 1" Project board, nor assigned to a milestone, without manual work in the Gitea UI.
Current gaps
create_milestoneandlist_milestonesexist, but there is no way to assign an issue to a milestone.create_issueandupdate_issuehave nomilestonefield.The only grouping mechanism that currently works end-to-end on existing issues is labels (
add_labels).Proposed scope
1. Milestone assignment (smaller, likely lowest-hanging)
milestoneparameter tocreate_issue(milestone id or title).milestonefield toupdate_issue, so existing issues can be moved into/out of a milestone.PATCH /repos/{owner}/{repo}/issues/{index}accepts amilestoneid. Should be straightforward.2. Project / board support (larger, verify API first)
list_projects(repo and/or org scope).add_issue_to_project(and ideally column/board placement).Acceptance criteria
Context
Surfaced 2026-06-20 during Driftwell Sprint 1 issue creation (Bartender.studio/driftwell #1-#7). Related: #21 (full read/write mode), #15 (label write tool).
Update — milestone assignment implemented; Projects investigated
Milestone assignment (done):
create_issueandupdate_issuenow take amilestoneargument (numeric id or title, resolved case-insensitively;0clears it on update). Implemented in PR above, behind the existing write-mode/policy guardrails, with tests + docs.Projects API (investigated, not implementable): Gitea 1.26.2 on this instance exposes zero project endpoints in its REST API (verified against
swagger.v1.json— nolist_projects, no board/column read, no add-issue-to-project). So project/board tooling cannot be built against the current Gitea version; documented as intentionally unsupported indocs/api-reference.mdanddocs/write-mode.md.Acceptance criteria status:
Add an issue to a Project via the MCP— not possible on Gitea 1.26.2 (no API)Will close once the PR is merged.
PR #25 merged (commit
026f3a6, 2026-06-22). Milestone assignment now ships oncreate_issue/update_issue(id or title;0clears). The Gitea Projects API is unavailable on 1.26.2 and is documented as intentionally unsupported. Closing — all actionable acceptance criteria are met; project/board support can be revisited if a future Gitea version exposes the endpoints.