Fix Autotask ticket description being cleared on resolve

When resolving Autotask tickets via the update_ticket_resolution_safe
function, the description field was not included in the PUT payload,
causing it to be set to NULL by Autotask.

Fixed by adding "description" to the optional_fields list so it is
preserved from the GET response and included in the PUT request.

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
This commit is contained in:
Ivo Oskamp 2026-02-09 11:39:48 +01:00
parent f021f0a2ec
commit 58dd2ce831
2 changed files with 4 additions and 0 deletions

View File

@ -669,6 +669,7 @@ class AutotaskClient:
"companyID",
"queueID",
"title",
"description",
"priority",
"dueDateTime",
"ticketCategory",

View File

@ -4,6 +4,9 @@ This file documents all changes made to this project via Claude Code.
## [2026-02-09]
### Fixed
- Fixed Autotask ticket description being set to NULL when resolving tickets via `update_ticket_resolution_safe` by adding "description" to the optional_fields list, ensuring the original description is preserved during PUT operations
### Changed
- Updated `docs/changelog.md` with comprehensive v0.1.23 release notes consolidating all changes from 2026-02-06 through 2026-02-08 (Documentation System, Audit Logging, Timezone-Aware Display, Autotask Improvements, Environment Identification, Bug Fixes)
- Updated `containers/backupchecks/src/backend/app/changelog.py` with v0.1.23 entry in Python structure for website display (8 sections with subsections matching changelog.md content)