Got it!first, add 'user__name' around line 130:$tickets->values( 'ticket_id', 'number', 'created', 'isanswered', 'source', 'status_id', 'status__state', 'status__name', 'cdata__subject', 'dept_id', 'dept__name', 'dept__ispublic', 'user__default_email__address','user__name');then, in the loop near 240:$ticketOwner = mb_convert_case(Format:($T), MB_CASE_TITLE);