get_user_worklog
Retrieve total hours logged by a user in a specified date range, with optional breakdowns by day, project, or issue.
Instructions
Total hours a user logged in a date range, optionally broken down.
Uses the Tempo Timesheets API: one search returns all of the user's
worklogs in [date_from, date_to] (both inclusive), filtered
server-side.
Args:
username: Tempo worker (Jira username / key).
date_from: Start date, inclusive, YYYY-MM-DD.
date_to: End date, inclusive, YYYY-MM-DD.
project: Optional project key to restrict to (e.g. PROJ).
breakdown: Optional grouping — day, project, issue,
account, both (=project+issue), all, or a
comma-separated combo like day,project. When day is
combined with project/issue the project/issue hours are
nested inside each day; otherwise they are flat for the period.
exclude_absence: Drop vacation / sick-leave worklogs (Tempo's
Absence account). Off by default so totals match Tempo.
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": {
"username": "<username>",
"date_from": "<date_from>",
"date_to": "<date_to>"
},
"name": "get_user_worklog"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| date_to | Yes | ||
| project | No | ||
| username | Yes | ||
| breakdown | No | ||
| date_from | Yes | ||
| exclude_absence | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||