You are not logged in.

Announcement

 Téléchargez la dernière version stable de GLPI      -     Et vous, que pouvez vous faire pour le projet GLPI ? :  Contribuer
 Download last stable version of GLPI                      -     What can you do for GLPI ? :  Contribute

#1 2023-04-05 18:24:00

nbrothers
Member
Registered: 2023-04-04
Posts: 10

Run Rules on Followups

Hey all!

I am trying to recreate a function I have used before in other ticketing systems, which is email commands like in Spiceworks Tickets Anywhere. These email commands allow you to put a certain term in the body of a ticket/email and have the ticketing system perform certain automatic actions, such as assigning a user.

An example I have is the #nb command. Which is:

Criteria: Description contains "#nb"
Actions: Assign user nbrothers

This searches all incoming tickets so that myself and my colleague can shorthand certain characteristics of a ticket during input.

However, I would also like to run rules on any followups, so that if I am responding to a ticket via email, I can include #close and my rule will be followed to close the ticket.

As best as I can tell, the rules engine only applies upon original ticket creation, or if I go back up to the original ticket and use the Edit function.

Is there any way to re-trigger the rules engine on subsequent entries on a ticket?

Thanks very much in advance if anyone has any insight. smile

Offline

#2 2023-04-06 00:05:07

cconard96
Moderator
Registered: 2018-07-31
Posts: 2,813
Website

Re: Run Rules on Followups

Ticket rule criteria do not apply to followups, tasks, solutions, or validations.


GLPI Collaborator and Plugin Developer.
My non-English comments are automated translations. Sorry for any confusion that causes.
Mes commentaires non anglais sont des traductions automatiques. Désolé pour toute confusion qui cause.
Mis comentarios que no están en inglés son traducciones automáticas. Perdón por cualquier confusión que cause.

Online

#3 2023-04-06 15:33:05

nbrothers
Member
Registered: 2023-04-04
Posts: 10

Re: Run Rules on Followups

Good morning! Thank you for your reply!

Does anyone know whereabouts in the code the rule engine gets called? I am interested to sleuth through the code and see if it's something I could re-scope to also include followups. If anyone could help me narrow down that search I would appreciate it smile

Offline

Board footer

Powered by FluxBB