I was able to hide the agent name from the ticket details with;
jQuery('#ticket-field-agent').hide();
And some other fields like this;
var SupportForm = ['helpdesk_ticket_priority']
SupportForm.map(function(field_id){
jQuery('#'+field_id).parents('.controls ').remove();
})
However the agent name is still showing to our customers in the ticket list view on the portal.
{% snippet ticket_list %}
The agent name doesn’t have a field id or it’s own div here, I could hide the whole help-text line but that would also remove the created by and created date information from the list view.
I need to only hide the agent name
How can I achieve this?