getWorklogAnalytics
Aggregate worklogs by issue, account, user, day, week, or month to get hours, count, and percentage per group, sorted by hours descending. Supports analyzing worklogs for users, teams, or programs.
Instructions
Aggregate worklogs in a date range and return hours, worklog count, and percentage per group, sorted by hours descending. groupBy options: 'issue' (default), 'account', 'user', 'day', 'week' (ISO 8601), 'month'. Pass 'users' / 'program' / 'team' to analyze other people's worklogs (e.g. groupBy 'user' + program gives a per-person report for the whole program; requires 'View Worklogs' permission). Note: 'account' grouping reads the Account work attribute on each worklog — worklogs without an account attribute are bucketed as 'No account', so this grouping is only meaningful if your team uses Tempo accounts.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| team | No | Fetch worklogs of all current members of this Tempo Team (name or numeric id). | |
| users | No | Fetch worklogs of these users instead of your own. Each entry may be an email, a display name, or a Jira accountId. | |
| endDate | Yes | ||
| groupBy | No | issue | |
| program | No | Fetch worklogs of all current members of this Tempo Program (name or numeric id). | |
| startDate | Yes |