wetrack_create_widget
Add a report widget to your dashboard by specifying title, metric, dimension, and chart type. Visualize project data with custom charts and tables.
Instructions
Add a report widget to the current user's dashboard.
Args: title: Display title shown on the widget card (non-empty). metric: What to measure — one of: 'COUNT_OF_TICKETS', 'COUNT_CREATED_VS_COMPLETED', 'AVG_CYCLE_TIME', 'AVG_RESPONSE_TIME', 'AVG_TICKET_AGE', 'SUM_STORY_POINTS', 'SUM_TIME_SPENT', 'COUNT_BLOCKED'. dimension: Group-by dimension — one of: 'PROJECT', 'SPRINT', 'SPRINT_STATUS', 'ASSIGNEE', 'REPORTER', 'STATUS', 'STATUS_CATEGORY', 'PRIORITY', 'TYPE', 'PARENT', 'DUE_DATE_BUCKET', 'CREATED_DATE', 'RESOLVED_DATE', 'BLOCKED', 'BUG_TYPE'. chart_type: How to render — 'BAR', 'LINE', 'PIE', 'DONUT', 'TABLE', or 'AREA'. catalog_report_id: Optional id from wetrack_get_reports_catalog to link to a catalog entry (e.g. 'status_breakdown').
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| title | Yes | ||
| metric | Yes | ||
| dimension | Yes | ||
| chart_type | Yes | ||
| catalog_report_id | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |