getUserWorkload
getUserWorkloadAnalyze a user's open-issue workload per project and priority: see overdue count, estimated vs spent hours, and top issues. Returns aggregate metrics, not individual issue records.
Instructions
Analyze one user's open-issue workload by project and priority, including overdue count, estimated versus spent hours and top issues; omitting userId selects the API-key user. This returns aggregates, not issue records; use getMyIssues for the current user or listIssues for a specified user.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| userId | No | ||
| projectId | No | Project identifier or numeric ID |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| hours | No | ||
| userId | Yes | User identifier the analysis is for. | |
| overdue | Yes | Number of analyzed issues whose due date is in the past. | |
| userName | No | Display name of the user. May be a placeholder like 'User #42' when only an id was provided. | |
| byProject | No | Per-project breakdown of the user's workload. | |
| projectId | No | Project the workload was scoped to, null when scope is all projects. | |
| topIssues | No | Up to 10 most important open issues for the user, sorted by priority then by due date. | |
| truncated | Yes | True when the analyzed set is a truncated slice of the full open set. | |
| analyzedIssues | Yes | Number of issues actually analyzed (may be smaller than totalOpenIssues when analysis was truncated). | |
| totalOpenIssues | Yes | Total number of open issues assigned to the user across all pages. |