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:
parent
f021f0a2ec
commit
58dd2ce831
@ -669,6 +669,7 @@ class AutotaskClient:
|
|||||||
"companyID",
|
"companyID",
|
||||||
"queueID",
|
"queueID",
|
||||||
"title",
|
"title",
|
||||||
|
"description",
|
||||||
"priority",
|
"priority",
|
||||||
"dueDateTime",
|
"dueDateTime",
|
||||||
"ticketCategory",
|
"ticketCategory",
|
||||||
|
|||||||
@ -4,6 +4,9 @@ This file documents all changes made to this project via Claude Code.
|
|||||||
|
|
||||||
## [2026-02-09]
|
## [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
|
### 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 `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)
|
- 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)
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user