-
Notifications
You must be signed in to change notification settings - Fork 20
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Handle archived tasks and tasks in archived lists #99
Comments
The idea with making the Parent for Tasks be Teams is that all tasks from a Team would come through (including archived tasks). You're saying right now archived tasks are not coming through (it should be? ). We actually started down that path first, and then we had complaints that merging together all the task streams was a pain due to tasks being deleted from one and moving to another (when archived and things) |
The problem here is the Clickup API. The tap is currently doing the right thing by fetching tasks with archived=true and archived false. However it's omitting tasks (with either
This is not the fault of the tap, but rather the ClickUp API "tasks by team" endpoint not returning tasks from archived lists at all. At least last time I checked this! The only workaround would be to query archived lists separately. |
Oh, I now see you may have already described this same issue in #87 |
@JohannesRudolph I went ahead and close that issue as it was old (also cleaned up the rest of the tasks, they should be good to go now) Thanks again for submitting this. Next steps I think are
|
@JohannesRudolph Thanks again, really appreciate the detail! I hope this tap is working for you! |
The ClickUp Tasks API endpoint has a couple of issues that are hard to work around. I see that
tap-clickup/tap_clickup/streams.py
Line 184 in 1115eaf
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.
The text was updated successfully, but these errors were encountered: