ClickUp integration list selection omits lists inside folders
The ClickUp integration's get_all_lists() enumerates spaces, then calls only /space/{space_id}/list through get_lists(). ClickUp documents that endpoint as Get Folderless Lists; lists within folders require listing the space's folders and calling /folder/{folder_id}/list. At 9ff63a6, neither folder enumeration nor folder-list retrieval exists. The OAuth setup and refresh paths in main.py both consume that helper. A workspace using only folder-contained lists can therefore appear to have no selectable lists. I also reproduced the omission offline by executing the three unchanged production methods (get_spaces, get_lists, get_all_lists) with provider-contract fixtures: one space containing a folder with one list returned [], and the recorded requests were only /team/team-1/space and /space/space-1/list. No folder endpoint was requested. This was not a live ClickUp or full application test.
I propose one focused fix to include folder-contained lists alongside folderless lists, preserving list IDs and space/folder metadata. Validation would exercise the production client with offline provider fixtures for a folder-only workspace, mixed lists, empty spaces and a folder-list request failure, then verify setup/refresh consume the resulting choices. The omission fixture above has run; the fix and broader validation have not been implemented.
@josancamon19 @kodjima33 Would you approve this scope as a small paid bounty under the contribution guide's suggested-bounty process, and confirm this plugin is still the supported ClickUp integration? Eligibility and reward amount remain unconfirmed. Any PR would report the actual validation performed.
Provider contracts: folderless lists, folders, lists in a folder.
Opened #13573 — enumerates space folders and fetches per-folder lists alongside the folderless endpoint. Includes hermetic regression tests (folder-only, mixed, and failure cases) registered in the check manifest; offline reproduction confirmed the folder path was never requested. AI-assisted; tests run locally.
Closing as already fixed on current main.
Current main clickup_client.get_all_lists() walks space folders + folder lists (the reported gap).