feat(47): Get Project Tasks can return Completed Tasks in TickTick MCP#48
Open
milichev wants to merge 4 commits into
Open
feat(47): Get Project Tasks can return Completed Tasks in TickTick MCP#48milichev wants to merge 4 commits into
milichev wants to merge 4 commits into
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
📋 Description
This PR fixes #47 by adding of support for retrieving completed/finished tasks from TickTick projects through the MCP integration. Previously, only active tasks could be retrieved using the
/project/{id}/dataendpoint. This implementation uses the properPOST /task/completedendpoint to fetch completed tasks while maintaining full backward compatibility.🎯 Problem Solved
Users could not view their completed tasks through the MCP interface, limiting visibility into project history and task completion status. This was particularly limiting for audit trails and project retrospectives.
✅ Solution
/task/completedendpointget_project_tasks()with optionalinclude_completedparameter🔄 Backward Compatibility
✅ Fully backward compatible
False🧪 Testing & Validation
Sandbox Testing (3 tasks total)
Production Testing (Tax project)
API Verification
POST /task/completed📝 Changes Made
ticktick_mcp/src/ticktick_client.pyticktick_mcp/src/server.pyinclude_completedparameter (default: False)💡 Benefits
🔗 Related Issues
Closes: Missing support for completed tasks in TickTick MCP integration
📚 Documentation
Parameter documentation added to
get_project_tasks()docstring:Type: Feature
Breaking Change: No
Impact: Medium (new optional feature)