Get time entries by Task Id from API
complete
Asher Treby
For the integration we're writing to our billing system we'd really like to have the ability to get ALL time entries against a task irrespective of the user and irrespective of the date of the time entry.
Log In
Brendan W
complete
We recently updated our Time Tracking 2.0 API!
We now include the ability to request task, List, Folder, and Space ids and names, along with task tags when using the Get time entries within a date range and get singular time entry endpoints.
You can also filter results by task, List, Folder, or Space using the new parameters on the Get time entries within a date range endpoint.
Refer to our API documentation for more details!
Julian Pustkuchen
Brendan W and Asher Treby As I wrote in https://clickup.canny.io/feature-requests/p/add-filter-for-billable-status-time-entry-tags-and-allow-to-get-all-time-entries the "irrespective of the user" part from the request is still open. Due to the long text I wrote to explain the business case, I'd suggest to proceed over there.
Asher Treby
Julian Pustkuchen: Yes - I agree, it is great that we can now filter by task, but actually we want all time on a task for all users and all dates - because in our case we bill for an entire task after it has been finished and sometimes it is hard to know how far back to go.
TBH we have just embarked on writing our own timing system and are no longer going to be using timing in ClickUp because the UI doesn't meet our needs, the API doesn't meet our needs, and the API isn't stable enough. It has negatively affected our ability to bill. So for us, even this change is too little too late unfortunately.
Julian Pustkuchen
Asher Treby: Thank you! Absolutely the same for us! We're still using the time tracking in ClickUp and very very much hope for improvement here. I hope we and other users are not forced to do the same step you did and hopefully ClickUp will improve this important part soon...
Just like you said, the TYPICAL way for billing is to retrieve all unbilled "billable" tasks from all users, optionally with other filters applied! That's what's needed in the real world.
And what's needed is a "billed" value to also filter so that we don't have to map reduce all time tracked, as there's no way to only get open time entries...
I very very much hope Brendan W can hear us und can see the demand for these optimizations in the Time Tracking area. ClickUp is at 60% here. You don't neet to be the PERFECT billing system yet, but please please at least make the 80% become reality, so that users like Asher Treby, we and others at least have the possibility to create working solutions by API... later on we'd be happy if ClickUp could do more like other time tracking and billing systems like Tempo.io etc... but please make it at least usable in daily business. PLEASE :(
Julian Pustkuchen
Also see https://clickup.canny.io/feature-requests/p/allow-to-get-all-time-entries-for-all-users-without-user-fetching-before which is not the same, but closely related and should be considered for the general concept.
Julian Pustkuchen
Same problem here. But additionally I'd say it would be nice to filter time entries by typical conditions like:
- Status (Billable)
- Tags (Workaround "Billed" tag e.g.) (also with NOT condition)
Thanks a lot in advance!