get_at_risk_issues
Identify at-risk issues in a YouTrack project, including overdue, stalled, unestimated, and QA-skipped items. Customize thresholds and get a report or JSON output.
Instructions
Find at-risk issues: overdue, qa_skipped, stalled, forgotten, unestimated, over estimate, ancient.
Deadline / estimate / spent-time / QA-required fields are matched by
name pattern, so decorated field names (Deadline ☠️,
Evaluation time 🕙, Spent time 🚴🏻♂️, Dev Estimate,
QA Required) are recognized — not just bare literals.
QA-skip: when a project has a QA-gating field (e.g. QA Required: Yes),
an issue that reached a release/done state while QA was required is
confirmed against its state history — flagged only if it NEVER passed
a QA state (true skip, not merely "QA pending"). Projects without such
a field produce no QA-skip candidates (zero added cost). The per-issue
history walk runs only when this category is in scope.
Args: project: Project short name stale_days: Days idle for In Progress (default: 7) forgotten_days: Days idle for Submitted/Pause (default: 30) ancient_days: Days open to flag (default: 200) limit_per_category: Max per category in report mode (default: 10). Ignored when format="json" — JSON returns the full set. deadline_warning_days: Days before deadline warning (default: 7) exclude_patterns: Comma-separated regex to exclude category: Restrict to one bucket — overdue, qa_skipped, approaching, stalled, over_estimate, unestimated, ancient, forgotten (aliases accepted). Empty = all categories. format: "report" (default markdown) or "json" (structured payload with per-category counts + full issue lists, for programmatic consumers like a daily deadline bot). instance: YouTrack instance (optional)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| format | No | report | |
| project | Yes | ||
| category | No | ||
| instance | No | ||
| stale_days | No | ||
| ancient_days | No | ||
| forgotten_days | No | ||
| exclude_patterns | No | ||
| limit_per_category | No | ||
| deadline_warning_days | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |