The ticket linking query had date-based logic that considered tickets "open" for runs if: - The ticket was unresolved, OR - The resolved date >= run date This caused resolved tickets to still link to new runs, which was unexpected behavior. User confirmed tickets should ONLY link to new runs if they are genuinely unresolved, regardless of dates. Changes: - Simplified query to only find tickets where resolved_at IS NULL - Removed OR clause with date comparison - Removed ui_tz parameter (no longer needed) - Simplified Strategy 1 code (no extra resolved check needed) Now tickets cleanly stop linking to new runs as soon as they are resolved, for both internal and Autotask tickets. 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 | ||