Page 1 of 1
Can Assign Tickets to Selected Users List only.
Posted: Thu Jul 23, 2020 7:20 am
by afeer
Like Categories, can we assign Tickets to selected Users list only.
This will reduce the list of relevant users only.
Re: Can Assign Tickets to Selected Users List only.
Posted: Thu Jul 23, 2020 3:12 pm
by Klemen
Not sure I understand what you mean. Can you give an example of what you are trying to achieve?
Re: Can Assign Tickets to Selected Users List only.
Posted: Tue Jul 28, 2020 9:47 am
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.
Re: Can Assign Tickets to Selected Users List only.
Posted: Tue Jul 28, 2020 11:59 am
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.
Re: Can Assign Tickets to Selected Users List only.
Posted: Tue Jul 28, 2020 7:15 pm
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
Re: Can Assign Tickets to Selected Users List only.
Posted: Wed Jul 29, 2020 6:41 am
by afeer
Very helpful and working solution. Obliged and Appreciated.
Re: Can Assign Tickets to Selected Users List only.
Posted: Wed Nov 16, 2022 6:57 am
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
Re: Can Assign Tickets to Selected Users List only.
Posted: Wed Nov 16, 2022 6:28 pm
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.