Previous fix removed ALL resolved tickets from display, breaking audit trail. Users need to see which tickets were associated with historical runs, even after resolution. Solution: Two-source ticket display 1. Direct links (ticket_job_runs): Always show, even if resolved - Preserves audit trail - Shows tickets that were explicitly linked to runs 2. Active window (ticket_scopes): Only show unresolved - Prevents resolved tickets from appearing on NEW runs - Uses active_from_date without date-based resolved logic Changes: - Added direct_ticket_links map to fetch linked tickets per run - Query ticket_job_runs for audit trail tickets - Modified ticket_codes building to use both sources - Removed date-based resolved_date comparison (resd >= rd) Result: - Run 1 with ticket → ticket resolved → ticket still visible on Run 1 - Run 2 created → ticket NOT shown on Run 2 (correctly filtered) Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com> |
||
|---|---|---|
| containers/backupchecks | ||
| deploy | ||
| docs | ||
| .gitignore | ||
| .last-branch | ||
| build-and-push.sh | ||
| LICENSE | ||
| README.md | ||
| TODO-audit-logging.md | ||
| TODO-documentation.md | ||
| TODO-reports-improvements.md | ||
| version.txt | ||