You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We got an issue, we got a set of rules to extract ticket category from subject by using a regex.
Then we got a set of rules to assign a technician based on the previously extracted category.
To finish we got a set of rules to assign SLA based on the category and the priority or type of the ticket.
All rules are in "add/update" mode.
When we use the rule tester, all rules are evaluated and we end up with the result we want.
When we create a ticket directly from GLPI it works.
But when a ticket is created by the mailgate some rules are not evaluated.
After troubleshooting it, it looks like the ticket type is not available when creating a ticket from mailgate while evualuating rules the first time.
If we manually set it in the first matching rule it works.
Relevant log output
Page URL
No response
Steps To reproduce
Create a rule to extract category from title with 'add/update'
Create a rule to set SLA based on ticket based on category and ticket type.
If you manually set a type in the rule 1 it works otherwise it doesn't.
Your GLPI setup information
No response
Anything else?
No response
The text was updated successfully, but these errors were encountered:
Indeed, the mail collector does not set a type, and IMHO, it should not do it automatically. We could probably propose a new rule dedicated to mail collectors that would permit to define the type of the ticket.
Code of Conduct
Is there an existing issue for this?
Version
10.0.17
Bug description
We got an issue, we got a set of rules to extract ticket category from subject by using a regex.
Then we got a set of rules to assign a technician based on the previously extracted category.
To finish we got a set of rules to assign SLA based on the category and the priority or type of the ticket.
All rules are in "add/update" mode.
When we use the rule tester, all rules are evaluated and we end up with the result we want.
When we create a ticket directly from GLPI it works.
But when a ticket is created by the mailgate some rules are not evaluated.
After troubleshooting it, it looks like the ticket type is not available when creating a ticket from mailgate while evualuating rules the first time.
If we manually set it in the first matching rule it works.
Relevant log output
Page URL
No response
Steps To reproduce
If you manually set a type in the rule 1 it works otherwise it doesn't.
Your GLPI setup information
No response
Anything else?
No response
The text was updated successfully, but these errors were encountered: