chore: add global variable for newTicket

Commit oleh dapanel (8e5376be413333f34b1b1a01a651802394bc3218)