Skip to content

gws tasks tasks list --showCompleted returns empty #509

@jooey

Description

@jooey

Bug Description

  • Tool: gws (google-workspace-cli) v0.11.1
  • Command: gws tasks tasks list --params '{"tasklist":"...","showCompleted":true}'
  • Expected: Should return completed tasks
  • Actual: Returns {"items":[]} (empty)

Steps to Reproduce

  1. Create a task: gws tasks tasks insert --params '{"tasklist":"..."}' --json '{"title":"test"}'
  2. Complete the task in Google Tasks app
  3. Run: gws tasks tasks list --params '{"tasklist":"...","showCompleted":true}'
  4. Result: empty (but task exists when queried by ID)

Workaround

  • Query task by ID: gws tasks tasks get --params '{"tasklist":"...","task":"<task_id>"}'
  • Completed tasks have "hidden": true and "status": "completed"

Environment

  • macOS
  • gws v0.11.1
  • Google Tasks API

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions