Auto assigning tickets

Helpdesk for my helpdesk software

Moderator: mkoch227

Post Reply
loupo
Posts: 10
Joined: Mon Sep 08, 2014 8:39 pm

Auto assigning tickets

Post 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
alcazar
Posts: 81
Joined: Mon May 27, 2013 6:36 pm

Re: Auto assigning tickets

Post by alcazar »

As for the owner, try this -> viewtopic.php?f=14&t=4571&start=15#p20977 ...
Alcazar
(nach Diktat spazierengegangen)
loupo
Posts: 10
Joined: Mon Sep 08, 2014 8:39 pm

Re: Auto assigning tickets

Post by loupo »

Thanks alcazar did your mod already.
Can anyone help for autoassign???
Klemen
Site Admin
Posts: 10147
Joined: Fri Feb 11, 2005 4:04 pm

Re: Auto assigning tickets

Post 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

Code: Select all

<option value="-2">
to

Code: Select all

<option value="-2" selected="selected">
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here Image

Image You should follow me on Twitter here

Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...

Also browse for php hosting companies, read php books, find php resources and use webmaster tools
loupo
Posts: 10
Joined: Mon Sep 08, 2014 8:39 pm

Re: Auto assigning tickets

Post by loupo »

Already tried the same myself klemen but is not working....
Klemen
Site Admin
Posts: 10147
Joined: Fri Feb 11, 2005 4:04 pm

Re: Auto assigning tickets

Post by Klemen »

Works when I test it.

Try closing all browser windows.
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here Image

Image You should follow me on Twitter here

Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...

Also browse for php hosting companies, read php books, find php resources and use webmaster tools
loupo
Posts: 10
Joined: Mon Sep 08, 2014 8:39 pm

Re: Auto assigning tickets

Post by loupo »

Thanks for trying klemen but its not working...
Klemen
Site Admin
Posts: 10147
Joined: Fri Feb 11, 2005 4:04 pm

Re: Auto assigning tickets

Post by Klemen »

What version of HESK are you running?
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here Image

Image You should follow me on Twitter here

Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...

Also browse for php hosting companies, read php books, find php resources and use webmaster tools
loupo
Posts: 10
Joined: Mon Sep 08, 2014 8:39 pm

Re: Auto assigning tickets

Post by loupo »

2.5.5
loupo
Posts: 10
Joined: Mon Sep 08, 2014 8:39 pm

Re: Auto assigning tickets

Post by loupo »

Can anyone help with this???
Even that auto assign is pre-selected now, the new ticket created as unassigned
Klemen
Site Admin
Posts: 10147
Joined: Fri Feb 11, 2005 4:04 pm

Re: Auto assigning tickets

Post 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>';
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here Image

Image You should follow me on Twitter here

Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...

Also browse for php hosting companies, read php books, find php resources and use webmaster tools
loupo
Posts: 10
Joined: Mon Sep 08, 2014 8:39 pm

Re: Auto assigning tickets

Post 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.... :? :? :?
bhhjor
Posts: 1
Joined: Wed Mar 09, 2011 9:44 am

Re: Auto assigning tickets

Post 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
Post Reply