Skip to content

Time Entry Tools

Two tools for time tracking: create entries and query aggregated data.

create-time-entry

Log time spent on an issue.

Parameters

ParameterTypeRequiredDescription
issue_idintegerYesThe issue to log time against
minutes_spentintegerYesTime in minutes (minimum 1)
started_atdateNoWhen work started (ISO 8601 format, e.g., 2026-03-13)
notestringNoDescription of the work done (max 10,000 characters)

Behavior

  • The authenticated user is automatically recorded as the time logger
  • Returns the created entry with issue, project, hours (decimal), and timestamps

Example Prompt

I just spent an hour and a half fixing the email validation bug. Log the time with a note about what I did.

get-time-entries

Query time entry data with optional filtering and grouping. This tool is read-only and safe to call repeatedly.

Parameters

ParameterTypeRequiredDescription
date_fromdateYesStart date (ISO 8601, e.g., 2026-01-01)
date_todateYesEnd date (ISO 8601, e.g., 2026-01-31). Must be ≥ date_from.
project_idintegerNoFilter to a specific project
user_idintegerNoFilter to a specific user
team_idintegerNoFilter to members of a specific team
issue_idintegerNoFilter to a specific issue
group_bystringNoAggregation mode (see below). Default: none

Grouping Modes

The group_by parameter controls how results are aggregated:

ModeReturnsUse Case
noneRaw time entries (max 100)Detailed view of individual entries
userTotal hours per userTeam utilization overview
projectTotal hours per projectProject cost tracking
teamTotal hours per teamDepartment-level reporting
issueTotal hours per issueIssue effort analysis
dayTotal hours per dayDaily activity patterns

Behavior

  • Raw entries (group_by none) are capped at 100 results with a has_more flag
  • Grouped results return decimal hours (e.g., 1.5 for 90 minutes)
  • Respects project accessibility — non-admin users only see data for projects they can access
  • Marked as #[IsReadOnly] and #[IsIdempotent]

Example Prompts

How much time did the team spend on the kendo project last week?

Show me a breakdown of hours per person for January 2026

Which issues in the kendo project have the most time logged this sprint?

See Also