KAN-72: Complete MCP ticket editing and discovery #177

Open
Twyco wants to merge 1 commits from feature/KAN-72-complete-mcp-ticket-editing into main
Owner

KAN-72 lets agents refine existing tickets entirely through MCP: update_ticket edits all supported ticket fields and the real acceptance checklist, get_ticket accepts an exact ticket key, and paginated search/project discovery plus compact current workflow configuration provide the required IDs without scanning status lists.

Updates reuse the existing UI validation, transactional action, worklog and notification behavior. Omitted fields remain unchanged, nullable scalar null clears values, and supplied checklist/custom-field lists replace the list ([] clears it). Existing checklist IDs remain stable; new entries get new IDs, and foreign/duplicate IDs are rejected. Workflow changes continue through move_ticket_status. Existing tools remain compatible.

Validation: affected MCP, project-ticket controller and API tests pass; frontend build and PHP formatting pass. Regression coverage includes application-key HTTP refinement, permission-scoped pagination, parent/author/person rules, checklist identity and rollback. The PR targets its recorded base main (ba12e65).

Production acceptance is still pending: after merge and production deployment, reload the actual MCP tool interface and verify criteria updates, key lookup and an allowed status transition on a dedicated test card. Local HTTP tests verify this flow but do not replace the requested production check. KAN-67 is outside this change.

KAN-72 lets agents refine existing tickets entirely through MCP: `update_ticket` edits all supported ticket fields and the real acceptance checklist, `get_ticket` accepts an exact ticket key, and paginated search/project discovery plus compact current workflow configuration provide the required IDs without scanning status lists. Updates reuse the existing UI validation, transactional action, worklog and notification behavior. Omitted fields remain unchanged, nullable scalar `null` clears values, and supplied checklist/custom-field lists replace the list (`[]` clears it). Existing checklist IDs remain stable; new entries get new IDs, and foreign/duplicate IDs are rejected. Workflow changes continue through `move_ticket_status`. Existing tools remain compatible. Validation: affected MCP, project-ticket controller and API tests pass; frontend build and PHP formatting pass. Regression coverage includes application-key HTTP refinement, permission-scoped pagination, parent/author/person rules, checklist identity and rollback. The PR targets its recorded base `main` (ba12e65). Production acceptance is still pending: after merge and production deployment, reload the actual MCP tool interface and verify criteria updates, key lookup and an allowed status transition on a dedicated test card. Local HTTP tests verify this flow but do not replace the requested production check. KAN-67 is outside this change.
Twyco added 1 commit 2026-10-02 11:34:24 +00:00
feat(KAN-72): complete MCP ticket editing and discovery
CI/CD / preconditions (pull_request) Successful in 2s
CI/CD / test_and_check_app (pull_request) Successful in 6m12s
CI/CD / Publish immutable image (pull_request) Skipped
9ed8d0c6cc
All checks were successful
CI/CD / preconditions (pull_request) Successful in 2s
CI/CD / test_and_check_app (pull_request) Successful in 6m12s
CI/CD / Publish immutable image (pull_request) Skipped
This pull request doesn't have enough required approvals yet. 0 of 1 official approvals granted.
You are not authorized to merge this pull request.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin feature/KAN-72-complete-mcp-ticket-editing:feature/KAN-72-complete-mcp-ticket-editing
git checkout feature/KAN-72-complete-mcp-ticket-editing
Sign in to join this conversation.
No Reviewers
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: PetschStudios/KanbanGit#177