initiativa / roundrobin

GLPI - Automatic Round Robin Assignment in ticket by selected category
GNU General Public License v3.0
3 stars 4 forks source link

Round Robin unassigned the user from the requester field #17

Open mattcobb0404 opened 4 months ago

mattcobb0404 commented 4 months ago

When a user submitted a ticket via email, round robin assigned the technician correctly, but the requester field was cleared.

Screenshot showing the ticket history after I re-added the user manually: image

mlegend82 commented 2 months ago

I found how to solve it:

For those using the marketplace plugin, go to glpi/marketplace/roundrobin/inc/ and edit the file TicketHookHandler.class.php. On line 136, replace WHERE tickets_id = {$ticketId}; with WHERE tickets_id = {$ticketId} AND type = 2;.

Funny enough, I found the file right here in this repository, haha.

If you're not using the marketplace, just go to the /glpi/plugins directory."