Can Assign Tickets to Selected Users List only.

Helpdesk for my helpdesk software

Moderator: mkoch227

Post Reply
afeer
Posts: 24
Joined: Thu Jul 23, 2020 7:15 am

Can Assign Tickets to Selected Users List only.

Post by afeer »

Like Categories, can we assign Tickets to selected Users list only.
This will reduce the list of relevant users only.
Klemen
Site Admin
Posts: 10142
Joined: Fri Feb 11, 2005 4:04 pm

Re: Can Assign Tickets to Selected Users List only.

Post by Klemen »

Not sure I understand what you mean. Can you give an example of what you are trying to achieve?
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
afeer
Posts: 24
Joined: Thu Jul 23, 2020 7:15 am

Re: Can Assign Tickets to Selected Users List only.

Post by afeer »

i have a list of users say 40
i want to short list the users to whom let say 25 you can assign tickets.
this will reduce the list of users in "Assign this ticket to" to 25 rather than showing 40.

same like Category selection criteria in user rights.
afeer
Posts: 24
Joined: Thu Jul 23, 2020 7:15 am

Re: Can Assign Tickets to Selected Users List only.

Post by afeer »

Other way you can say if I have 5 categories and 40 users. Users who have access to category 1 (suppose 10) can assign tickets to users of category 1 only (Assign to list must contain only 10 users in list of category 1 not 40 users list). And so on.
Klemen
Site Admin
Posts: 10142
Joined: Fri Feb 11, 2005 4:04 pm

Re: Can Assign Tickets to Selected Users List only.

Post by Klemen »

I see what you mean.

When you actually open a ticket (view ticket details), then only people with access to the category will appear in the list.

However, when you are submitting a ticket, everyone is listed, not only people with access to the category.

To fix this and only display users with access to the category, try this file:
https://hesk.com/extras/hesk3/hesk311-new-ticket.zip

Upload it to your "admin" folder. It works with Hesk 3.1.1
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
afeer
Posts: 24
Joined: Thu Jul 23, 2020 7:15 am

Re: Can Assign Tickets to Selected Users List only.

Post by afeer »

Very helpful and working solution. Obliged and Appreciated.
afeer
Posts: 24
Joined: Thu Jul 23, 2020 7:15 am

Re: Can Assign Tickets to Selected Users List only.

Post by afeer »

Hi Klemen,

Hope you are doing perfect fine, There are some issues in the code as for as the thread is concerned. Its working fine only when you open a single ticket and assign it to relevant people or relevant user list is shown. While if you want to assign tickets in bulk, all user are listed which is not required as per this thread.

I am using HESK version 3.4.0
Klemen
Site Admin
Posts: 10142
Joined: Fri Feb 11, 2005 4:04 pm

Re: Can Assign Tickets to Selected Users List only.

Post by Klemen »

For bulk actions it's not that easy because you could select different tickets in multiple categories; some users may have access to some of them, and some to none.

You would have to come up with a more advanced (likely Javascript) comparison to achieve this for the bulk assignment.
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
Post Reply