Limited path in PATCH Bulk editing time entries

Hello,

I’ve been trying to migrate my usage of the PUT TimeEntries endpoint to the PATCH Bulk editing time entries endpoint.

Basically, I am updating the duration of several time entries in a loop by calling PUT, but because of the new API limits, I wanted to optimize the API usage by using a single bulk PATCH call instead.

I was then a bit disappointed to learn from this post, that neither the duration nor stop fields are supported as a path in the replace operation.

Is there any way to update the durations of time entries in bulk?
If not, is there a plan to add support for it? It would make sense to me to support more bulk operations in conjunction with the new API limits.

Thanks

Hey @maturao

Currently, the PATCH /workspaces/{workspace_id}/time_entries/{time_entry_ids} endpoint does not support the duration, start, or stop paths. It is primarily designed for bulk updating “meta” attributes like tags, projects, descriptions, and billable status.

  1. Is there any way to update durations in bulk? At this time, there is no dedicated API endpoint to update the duration or stop time of multiple entries in a single request. The only way to update duration programmatically is to update each time entry individually via the PUT endpoint (or PATCH single entry).

  2. Is there a plan to add support for it? This isn’t currently in the roadmap, but I’ll pass it on to the team to take into consideration.

Let us know if you have any further questions!