Go to file
Ivo Oskamp 43502ae6f3 Fix: Show resolved tickets only on runs where they were linked
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>
2026-02-10 10:53:45 +01:00
containers/backupchecks Fix: Show resolved tickets only on runs where they were linked 2026-02-10 10:53:45 +01:00
deploy Auto-commit local changes before build (2026-01-01 16:09:56) 2026-01-01 16:09:56 +01:00
docs Fix: Show resolved tickets only on runs where they were linked 2026-02-10 10:53:45 +01:00
.gitignore Add .gitignore to protect confidential .claude directory 2026-02-08 20:46:34 +01:00
.last-branch Auto-commit local changes before build (2026-02-10 09:41:33) 2026-02-10 09:41:33 +01:00
build-and-push.sh Auto-commit local changes before build (2026-01-01 16:40:37) 2026-01-01 16:40:37 +01:00
LICENSE Auto-commit local changes before build (2026-01-01 16:09:56) 2026-01-01 16:09:56 +01:00
README.md Auto-commit local changes before build (2026-01-01 16:09:56) 2026-01-01 16:09:56 +01:00
TODO-audit-logging.md Auto-commit local changes before build (2026-02-07 21:41:42) 2026-02-07 21:41:42 +01:00
TODO-documentation.md Update TODO-documentation with per-job review corrections status 2026-02-08 20:08:43 +01:00
TODO-reports-improvements.md Add comprehensive TODO for reports improvements 2026-02-07 23:36:23 +01:00
version.txt Release v0.1.25 on branch v20260209-08-veeam-vbo365-not-started (bump type 1) 2026-02-09 17:21:39 +01:00