get_team_worklog
Retrieve worklogs logged by each member of a Tempo team in a date range, grouped by worker, with optional breakdowns by day, project, or issue. Includes options for subtasks, active members, and excluding absence.
Instructions
Hours every member of a Tempo team logged in a date range, per worker.
Reproduces Tempo's "Logged Time" report grouped by worker (the
Tempo.jspa#/reports/logged-time?teamId=…&groupBy=worker view): one
worklog search filtered by teamId covers the whole team for
[date_from, date_to] (both inclusive). The team roster is fetched
separately so members who logged nothing still appear with 0 hours.
Args:
team_id: Tempo team id (the teamId from the report URL, e.g. 79).
date_from: Start date, inclusive, YYYY-MM-DD.
date_to: End date, inclusive, YYYY-MM-DD.
include_subtasks: Include worklogs on subtasks (the report's
includeSubtasks toggle). Defaults to Tempo's own default.
breakdown: Optional per-worker grouping — day, project,
issue, both (=project+issue), all, or a comma combo
like day,project. Each requested dimension appears as
by_day / by_project / by_issue inside every worker's
entry (e.g. day → hours-per-day per worker, the whole
timesheet matrix, in ONE call — never call this once per user).
only_active: Keep only current employees on an open team membership
(default). Set False to include people who left the company or
moved off the team — a team's roster accumulates them for years,
so the default keeps the report to the people working now.
exclude_absence: Drop vacation / sick-leave worklogs, which Tempo
logs against a dedicated Absence account. Off by default so
totals match Tempo's own report; turn it on to read the numbers
as actual workload — otherwise a week of vacation looks
identical to a week of work (8h/day either way).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| date_to | Yes | ||
| team_id | Yes | ||
| breakdown | No | ||
| date_from | Yes | ||
| only_active | No | ||
| exclude_absence | No | ||
| include_subtasks | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||