Page 1 of 1

How to set auto-assign owner for new ticket

Posted: Wed Nov 09, 2016 9:20 am
by deserteagle369
Script URL:
Version of script: hesk 2.41
Hosting company:
URL of phpinfo.php:
URL of session_test.php:
What terms did you try when SEARCHING for a solution:

Write your message below:
when support staff insert new ticket, the owner option in the bottom is set ">unassigned<" by default, how to change the default to ">auto-assign<"?

thanks

Re: How to set auto-assign owner for new ticket

Posted: Wed Nov 09, 2016 11:56 am
by Klemen
In the admin/new_ticket.php change

Code: Select all

		<option value="-1"> > <?php echo $hesklang['unas']; ?> < </option>
		<?php

		if ($hesk_settings['autoassign'])
		{
			echo '<option value="-2"> > ' . $hesklang['aass'] . ' < </option>';
		}
to

Code: Select all

		<?php

		if ($hesk_settings['autoassign'])
		{
			echo '<option value="-2"> > ' . $hesklang['aass'] . ' < </option>';
		}
        ?>
        <option value="-1"> > <?php echo $hesklang['unas']; ?> < </option>
        <?php

Re: How to set auto-assign owner for new ticket

Posted: Thu Nov 10, 2016 1:35 am
by deserteagle369
hi Klemen

thanks! it work as I expect.

Eagle