Skip to content

[Bounty proposal] fix(clickup-app): folder-contained lists invisible in get_all_lists #13808

Closed

Description

@Aj2280

Description

In plugins/omi-clickup-app/clickup_client.py, get_all_lists() only queries GET /space/{space_id}/list. In ClickUp API v2, /space/{space_id}/list only returns folderless lists (lists not placed in any folder).

Any lists organized inside folders in a ClickUp workspace are completely invisible to get_all_lists. Consequently:

  1. The web setup/settings UI list picker never displays folder lists for task destination selection.
  2. AI task detection cannot route tasks to lists that live inside folders.

Proposed Fix

  1. Add get_folders() to query GET /space/{space_id}/folder and retrieve all folders in each space.
  2. Add get_folder_lists() to retrieve lists for a specific folder if not already populated.
  3. Update get_all_lists() to aggregate both folderless lists and folder lists, naming them folder_name / list_name for clear disambiguation.
  4. Add regression unit tests in plugins/omi-clickup-app/test_clickup_client.py and register clickup-app-client-tests in .github/checks-manifest.yaml.

Proposed Bounty Reward: $50.00 USD
Bounty Payout Destination (PayPal): [email protected]

Activity

  1. Aj2280 commented on Sep 14, 2026

    @Aj2280
    ContributorAuthor

    Fixed in PR #13809 with full unit test coverage asserting folder lists aggregation and fail-closed error handling.

    Payout Destination (PayPal): [email protected]

  2. moved this from Someday to In progress in omi TODO / bountieson Sep 14, 2026
  3. Abhist17 commented on Sep 14, 2026

    @Abhist17
    Contributor

    Hi — I'd like to work on this too, and I have a fix ready that I'll put up as a PR alongside #13809 for the maintainers to compare. Same endpoints (GET /space/{id}/folder with the embedded lists, GET /folder/{id}/list as the fallback), with two behavioural differences that I think matter for how the plugin is used:

    1. name stays the bare list name. task_detector matches what the user said against lst["name"] (exact compare in three places), so storing "Sprint 1 / Bugs" as the name turns "add a task to Bugs" from an exact match into a low-score fuzzy one, and the AI-match fallback misses it entirely. Folder lists carry folder_name, and the picker renders Folder / List (Space) at the display boundary instead.
    2. A failed folder request fails closed. get_all_lists returns [] rather than the folderless subset — the same discard-partial-results contract as the github-app fetchers in fix(github-app): page through repository labels #13546. A folderless-only answer after a transient folder error is this exact bug, made intermittent.

    Plus hermetic tests that drive the real get_all_lists and the real settings handler, registered in checks-manifest.yaml, and an end-to-end run of the app against a local fake ClickUp v2 server. Happy to defer to whichever approach the maintainers prefer, or fold either point into #13809 if that's more useful.

  4. moved this from In progress to In review in omi TODO / bountieson Sep 14, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions