Page 1 of 1
Auto assigning tickets
Posted: Sat Oct 11, 2014 9:05 pm
by loupo
Hi klemen,
I want the auto assign ticket, in the bottom of admin/new_ticket.php, as default value.
Also in admin main how can i change the lastreplier field to OWNER?
I need to see who is the owner of the ticket.
How can i do that please?
Thanks in advance
Nikos
Re: Auto assigning tickets
Posted: Sun Oct 12, 2014 3:22 pm
by alcazar
Re: Auto assigning tickets
Posted: Sun Oct 12, 2014 8:28 pm
by loupo
Thanks alcazar did your mod already.
Can anyone help for autoassign???
Re: Auto assigning tickets
Posted: Mon Oct 13, 2014 11:41 am
by Klemen
Try changing
Code: Select all
$owner = isset($_SESSION['as_owner']) ? intval($_SESSION['as_owner']) : 0;
to
Code: Select all
$owner = isset($_SESSION['as_owner']) ? intval($_SESSION['as_owner']) : -2;
and
to
Code: Select all
<option value="-2" selected="selected">
Re: Auto assigning tickets
Posted: Mon Oct 13, 2014 3:39 pm
by loupo
Already tried the same myself klemen but is not working....
Re: Auto assigning tickets
Posted: Mon Oct 13, 2014 4:37 pm
by Klemen
Works when I test it.
Try closing all browser windows.
Re: Auto assigning tickets
Posted: Mon Oct 13, 2014 6:50 pm
by loupo
Thanks for trying klemen but its not working...
Re: Auto assigning tickets
Posted: Wed Oct 15, 2014 8:32 am
by Klemen
What version of HESK are you running?
Re: Auto assigning tickets
Posted: Thu Oct 16, 2014 1:58 pm
by loupo
2.5.5
Re: Auto assigning tickets
Posted: Mon Oct 20, 2014 4:45 pm
by loupo
Can anyone help with this???
Even that auto assign is pre-selected now, the new ticket created as unassigned
Re: Auto assigning tickets
Posted: Thu Oct 23, 2014 1:03 pm
by Klemen
I just tried it again and it works fine for me.
All you need to do is change
Code: Select all
echo '<option value="-2"> > ' . $hesklang['aass'] . ' < </option>';
to
Code: Select all
echo '<option value="-2" selected="selected"> > ' . $hesklang['aass'] . ' < </option>';
Re: Auto assigning tickets
Posted: Thu Oct 23, 2014 10:53 pm
by loupo
Tried again klemen but the new ticket created as unassigned. Auto assigned is enabled.
Have to select unassign first and then auto assign to work. Without the modification (where unassigned is selected by default) if i manualy select auto assign ticket, is working.
Can anyone else try it? Have to enable something special in my php?
Something is wrong....

Re: Auto assigning tickets
Posted: Thu Nov 06, 2014 11:06 am
by bhhjor
Hi,
I had a similar issue and made the changes as per Klems note today. I had recently upgraded to 255 and only noticed when a user asked about a call and realised that they were not auto-assigning.
I came across this post and followed the instructions as suggested. Working fine for me. Not sure where the problem lies but I've a got a standard setup on version 255. There has been no change (except for site specific items).
Not sure if it helps
Regards