Context:
We needed a custom tool fetching time entries from the API for billing. It lists all times tracked from all users to manage them by tags for creating invoices (for example set them "billed" and other tags).
This and other specifics are not possible in ClickUp so far.
Problem:
For such time entry applications it's currently not possible to retrieve all time entries from all users without iterating over the user list (with additional api calls) before!
The behaviour described at https://jsapi.apiary.io/apis/clickup20/reference/0/time-tracking-20/get-time-entries-within-a-date-range.html is problematic as long as there is no way to leave out assignee=XXX to get all users time entries.
I guess there are two options:
  1. Add antoher GET request without that assignee= restriction returning the results for all users
  2. Add a placeholder for assignee= like "ALL" - which would not conflic with the current solution, as it expects an integer. But I'm not sure if that's clean.
Anyway the current solution is not good and API consuming because you need a lot more API calls for the simple result. Ohter ClickUp APIs behave differently here!