initiativa / roundrobin

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

Doesn't assign a technician to a ticket when a ticket is submitted via email #15

Open krzysztofmaciejewskiit opened 4 months ago

krzysztofmaciejewskiit commented 4 months ago

I have a problem because I am configuring GLPI as a new ticketing system for the company I work for, but the tickets are not being assigned to users using the round-robin method.

When the ticket is created from GLPI and when I manually select the category then everything works correct, the ticket goes to my group and the technician is randomly assigned. When I do it by email from my mail only the main unit is assigned thanks to the rule I posted below.

I don't know how to do this, but maybe you know how to assign categories to tickets submitted by email?

image

image

image

I think the problem may be in the screen shot below (Automatic user assignment), just don't know how I can configure it. image

I noticed that when this option is selected, when you create the request yourself and manually select the cateogry, then it all works correctly with assignment to users by round robin method. image

image

krzysztofmaciejewskiit commented 4 months ago

Does anyone have an idea how to solve my problem with assigning tickets to a group when the ticket is submitted via email?

JohnRossZA commented 4 months ago

@krzysztofmaciejewskiit How does your Business Rules look like, you need to setup a rule, to have Category assigned.

mlegend82 commented 3 weeks 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."