update_time_entry_until
Update a time entry by start/end times instead of duration, computing hours locally and sending only hours and start time to OpenProject; marks entry as not ongoing.
Instructions
Update a time entry by start/end time instead of a duration.
Computes hours = end_time - start_time locally; only hours and start_time are sent to OpenProject (end_time itself is never accepted by the server, see update_time_entry's docstring). end_time must be strictly after start_time. Always sets ongoing=False, since a completed time span with a known end time cannot still be running.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| user | No | ||
| comment | No | ||
| confirm | No | false: preview only, nothing changes. true: applies it; get the user's approval of the preview first. | |
| activity | No | ||
| end_time | Yes | ||
| spent_on | No | ||
| start_time | Yes | ||
| time_entry_id | Yes |