bmc_hub/MDfile/RELEASE_NOTES_v2.2.36.md
Christian a604a3cc44 Add comprehensive test suite for vTiger integration and ticket module
- Implemented test scripts for vTiger account retrieval, contact data, and modules.
- Created a detailed test suite for the ticket module, covering database schema validation, ticket number generation, prepaid card constraints, and service logic.
- Added tests for vTiger field inspection and various queries related to accounts and sales orders.
- Introduced SQL migration scripts for the ALSO Cloud Billing foundation, including import jobs, lines, and mapping tables with necessary constraints and indices.
- Enhanced workflow columns in the import lines table to support matching and validation timestamps.
2026-06-20 03:29:51 +02:00

31 lines
1.4 KiB
Markdown

# BMC Hub v2.2.36 - Helpdesk SAG Routing
**Release Date:** 2. marts 2026
## ✨ New Features
### Helpdesk email → SAG automation
- Incoming emails from known customer domains now auto-create a new SAG when no `SAG-<id>` reference is present.
- Incoming emails with `SAG-<id>` in subject or threading headers now auto-update the related SAG.
- Emails from unknown domains remain in `/emails` for manual handling.
### Email threading support for routing
- Added migration `141_email_threading_headers.sql`.
- `email_messages` now stores `in_reply_to` and `email_references` to support robust SAG threading lookup.
### /emails quick customer creation improvements
- Quick create customer modal now includes `email_domain`.
- Customer create API now accepts and persists `email_domain`.
## 🔧 Technical Changes
- Updated `app/services/email_service.py` to parse and persist `In-Reply-To` and `References` from IMAP/EML uploads.
- Updated `app/services/email_workflow_service.py` with system-level helpdesk SAG routing logic.
- Updated `app/emails/backend/router.py` to include `customer_name` in email list responses.
- Updated `app/customers/backend/router.py` and `app/emails/frontend/emails.html` for `email_domain` support.
## 📋 Deployment Notes
- Run database migration 141 before processing new inbound emails for full header-based routing behavior.
- Existing workflow/rule behavior is preserved; new routing runs as a system workflow.