Fix assignment for ticket status

Fixes the non-happening assignment of the resp. value