create_time_entry
Log time spent on a project or issue. Provide hours and optionally an issue or project ID to record work against.
Instructions
Creates a new time entry. Requires either issue_id or project_id, and hours.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| issue_id | No | Issue ID to log time against. Either issue_id or project_id is required | |
| project_id | No | Project ID or identifier to log time against. Either issue_id or project_id is required | |
| hours | Yes | Number of hours spent (required) | |
| activity_id | No | Time activity ID (e.g., Development, Design) | |
| comments | No | Description of the work done | |
| spent_on | No | Date the time was spent (YYYY-MM-DD). Defaults to today | |
| user_id | No | User ID to log time for (requires admin privileges). Defaults to current user | |
| custom_fields | No | Custom field values |