Skip to content

Enhancement: Tasklist - Add showCompleted filter to list request#103

Merged
rafaeljusto merged 1 commit into
mainfrom
enhancement/tasklist-complete
Jul 23, 2026
Merged

Enhancement: Tasklist - Add showCompleted filter to list request#103
rafaeljusto merged 1 commit into
mainfrom
enhancement/tasklist-complete

Conversation

@rafaeljusto

Copy link
Copy Markdown
Contributor

Description

Add an optional ShowCompleted *bool filter to TasklistListRequestFilters. When nil (the default), the parameter is omitted and the API's default behaviour of excluding completed tasklists is preserved; set it to true to include completed tasklists in the results.

Type of Change

  • Bug fix
  • New feature
  • Breaking change
  • Documentation update

Testing

  • Tests pass locally (go test -v ./...)
  • Added/updated tests for new functionality

Checklist

  • Code follows project style guidelines
  • Self-reviewed the code
  • Added necessary documentation
  • No new warnings or errors

Add an optional ShowCompleted *bool filter to TasklistListRequestFilters.
When nil (the default), the parameter is omitted and the API's default
behavior of excluding completed tasklists is preserved; set it to true to
include completed tasklists in the results.
@rafaeljusto
rafaeljusto requested a review from a team as a code owner July 23, 2026 17:14
@rafaeljusto
rafaeljusto merged commit 3f08a70 into main Jul 23, 2026
3 checks passed
@rafaeljusto
rafaeljusto deleted the enhancement/tasklist-complete branch July 23, 2026 17:18
rafaeljusto added a commit to Teamwork/mcp that referenced this pull request Jul 23, 2026
Completed tasklists are excluded by the API by default, so the MCP client
could not see them. Expose a show_completed parameter on list_tasklists that
maps to the SDK's ShowCompleted filter, letting callers opt in to completed
tasklists.

Related to:
Teamwork/twapi-go-sdk#103
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant