track_cross_dept_journey
Track cross-department handoffs to identify bottlenecks, department load, and average transit times for issues in YouTrack.
Instructions
Track cross-department handoffs: bottlenecks, dept load, avg transit times.
Builds a chronological journey of dept changes (state + project transitions) for each issue. Departments are auto-detected from project shortnames using generic role-based patterns (Backend/Frontend/DevOps/QA/Mobile/etc).
Args: query: YouTrack query selecting issues (e.g. 'project: PROJ #Unresolved') stale_days: Flag current station if held >N days (default: 5) avg_window_days: Rolling window for transit time averages (default: 14) follow_subtasks: Include subtask journeys in parent's chain (default: True) max_issues: Cap on issues fetched (default: 50) instance: YouTrack instance (optional)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | ||
| instance | No | ||
| max_issues | No | ||
| stale_days | No | ||
| avg_window_days | No | ||
| follow_subtasks | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |