Log time

Log hours on an issue or a project with an activity and a comment.

MCP tool redmine_write → log_time

write

Creates a time entry for the signed-in account and returns it. Pass issue_id or project_id. Hours are decimals, so 0.25 is 15 minutes. The activity is required unless the instance has a default; the comment is 255 characters at most. log_time runs without asking first: it reaches no one and is corrected with update_time_entry.

Parameters

Parameters: log_time
NameTypeDescription
issue_id integer integer Issue to log on. Give this or project_id.
project_id integer integer Project to log on when no issue applies.
hours number required number Decimal hours, e.g. 1.5.
activity_id integer integer Activity ID from list_issue_options. Required unless the instance has a default activity.
spent_on date date Day worked, YYYY-MM-DD. Default: today.
comments string string Short description, 255 characters at most.

tools/call

JSON-RPC

{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "redmine_write",
    "arguments": {
      "operation": "log_time",
      "arguments": {
        "issue_id": 4821,
        "hours": 1.5,
        "activity_id": 9,
        "spent_on": "2026-10-15",
        "comments": "Reproduced the login loop and patched the session check"
      }
    }
  }
}

Example response

JSON

{
  "content": [
    {
      "type": "text",
      "text": "{ ... same JSON as structuredContent ... }"
    }
  ],
  "structuredContent": {
    "time_entry_id": 18433,
    "project": "Billing portal",
    "issue_id": 4821,
    "user": "Dana Whitfield",
    "activity": "Development",
    "hours": 1.5,
    "spent_on": "2026-10-15",
    "comments": "Reproduced the login loop and patched the session check"
  },
  "isError": false
}

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.