Go to file
Ivo Oskamp 6468cbbc74 Fix Autotask and internal tickets not linking to missed runs
Added ticket linking to missed runs by calling link_open_internal_tickets_to_run
after creating missed JobRun records in _ensure_missed_runs_for_job function.

Changes:
- Added import for link_open_internal_tickets_to_run in routes_run_checks.py
- Added db.session.flush() and ticket linking call after creating weekly missed runs
- Added db.session.flush() and ticket linking call after creating monthly missed runs
- Ensures missed runs receive same ticket propagation as email-based runs

This fixes the issue where missed runs were not showing linked internal tickets
or Autotask tickets, while error/warning runs from emails were working correctly.

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2026-02-13 10:52:00 +01:00
containers/backupchecks Fix Autotask and internal tickets not linking to missed runs 2026-02-13 10:52:00 +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 Autotask and internal tickets not linking to missed runs 2026-02-13 10:52:00 +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-12 13:10:24) 2026-02-12 13:10:24 +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-cove-data-protection.md Add N-able support ticket email template to Cove TODO 2026-02-10 17:26:19 +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.26 on branch v20260210-01-autotask-ticket-propagation-fix (bump type 1) 2026-02-10 11:35:27 +01:00