Update time entry

Correct the hours, activity, date or comment of a time entry.

PATCH https://cotlet.dev/api/v1/redmine/time-entries/{time_entry_id}

write

Changes the fields you pass on an entry and returns the result. It reaches no one and is undone by another call with the old values, so it runs without asking first.

Parameters

Parameters: update_time_entry
NameTypeDescription
time_entry_id integer required integer Entry ID from list_time_entries or log_time.
hours number number Decimal hours.
activity_id integer integer Activity ID from list_issue_options.
spent_on date date Day worked, YYYY-MM-DD.
comments string string Short description, 255 characters at most.

Request

cURL
curl -X PATCH https://cotlet.dev/api/v1/redmine/time-entries/1 \
  -H "Authorization: Bearer $COTLET_API_KEY"
Python
result = client.call("redmine", "update_time_entry", {"time_entry_id":1})
Node.js
const result = await cotlet.call('redmine', 'update_time_entry', {"time_entry_id":1});
CLI
cotlet call redmine update_time_entry --data '{"time_entry_id":1}'

Example response

JSON

{
  "time_entry_id": 18433,
  "issue_id": 4821,
  "activity": "Development",
  "hours": 2,
  "spent_on": "2026-10-15",
  "comments": "Reproduced the login loop and patched the session check"
}

Sign in once. Your agent does the rest.

Sign up and add the apps you need. Free 7-day trial with 2,000 credits, no card needed.