Go to file
Ivo Oskamp f3b1b56b6a Fix Autotask ticket propagation to new runs
When a new run is created, Autotask tickets were not being propagated
if the associated internal ticket was resolved. This caused users to
have to manually re-link tickets on each new run.

The previous implementation relied on finding an open internal ticket
first, then using its ticket code to find a matching Autotask-linked run.
If the internal ticket was resolved, the Autotask propagation would fail.

This commit implements a two-strategy approach:
1. Strategy 1: Use internal ticket code (existing logic, improved error handling)
2. Strategy 2: Direct Autotask propagation - find most recent non-deleted
   Autotask ticket for the job, independent of internal ticket status

Now Autotask tickets remain linked across runs regardless of internal
ticket resolution status, matching the behavior of internal tickets.

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2026-02-10 09:32:23 +01:00
containers/backupchecks Fix Autotask ticket propagation to new runs 2026-02-10 09:32:23 +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 ticket propagation to new runs 2026-02-10 09:32:23 +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-09 17:13:17) 2026-02-09 17:13:17 +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