# before_ticketdbinsert modifier
Ticket details is about to be stored in database in hb_tickets table.
TIP
$details
is passed as reference (opens new window) so its possible to modify its value(s) in Advanced hook
# Hook parameter
An array
holding ticket details to store them with keys from hb_tickets table
Key | Type | Description |
---|---|---|
ticket_id | int | Related ticket ID in HostBill DB |
ticket_number | int | Related ticket number |
acc_hash | string | Remote access hash for non-registered views, |
dept_id | int | Related department ID |
client_id | int | Related client ID (if any) |
name | string | Submitter name |
email | string | Submitter email |
subject | string | Ticket subject |
body | string | Ticket body |
status | string | Ticket status |