Skip to content

Handle archived tasks and tasks in archived lists #99

@JohannesRudolph

Description

@JohannesRudolph

The ClickUp Tasks API endpoint has a couple of issues that are hard to work around. I see that

path = "/team/{team_id}/task?include_closed=true&subtasks=true"
already handles fetching archived tasks (via a partition). This is good.

However what we're still missing is a way to get tasks form archived lists, as clickup does not include those. Tasks and Lists have their own "archived" flag, and a list with list.archived=true can have tasks with task.archived=false, yet the task is still not returned from the "Tasks / Get Filtered Team Tasks" API.

To my knowledge there's no good alternative (other than ClickUp fixing their API game...), other than recursing through the space -> folder hierarchy to find all archived lists, then loading tasks for each of those lists explicitly.

At the moment this means that tap_clickup may not fetch all tasks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions