Create Redmine Time Entry
redmine_create_time_entryLog time entries in Redmine with issue or project ID, hours, and activity type, plus optional date and comments.
Instructions
Log time in Redmine. Requires either issue_id or project_id.
Args:
issue_id: Issue to log time against (provide this OR project_id)
project_id: Project to log time against (provide this OR issue_id)
hours: Hours spent (required)
activity_id: Activity type ID (required unless default exists)
spent_on: Date spent (YYYY-MM-DD, defaults to today)
comments: Description of work done
Returns: Created time entry details.
User preferences: none saved yet. The first time you help this user, ask once which Redmine projects they actually work on (suggest candidates via redmine_get_current_user with include_memberships=true and recent issues assigned to them), then save with redmine_save_preferences. Do not ask on later sessions — the saved answer replaces this hint (review anytime via redmine_get_my_context).
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"hours": "<hours>"
},
"name": "redmine_create_time_entry"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| hours | Yes | Hours spent | |
| comments | No | Description of work | |
| issue_id | No | Issue ID | |
| spent_on | No | Date (YYYY-MM-DD, default: today) | |
| project_id | No | Project ID or identifier | |
| activity_id | No | Activity type ID |