You are not logged in.
Hello,
I've been trying to apply a certain rule to affect already opened tickets but can't get it to work. The rule I want to apply is as follows:
Conditions: Ticket is Validated AND Ticket Category is "X"
Action: Add "Y user" in ticket's Watchers (or observers)
The flow is like this:
- Requester fills a form which auto-generates a ticket that needs validation
- The Validator validates the ticket
- The rule checks both conditions as above and adds a 3rd actor as a Watcher
- The Watcher (or Observer) gets a notification email containing the ticket's information
Thanks
Offline
Rule conditions function more like triggers than conditions. This means that in general, the conditions must match against the changes being made in the update.
For your example, you would need to have the ticket validated and the category changed to be "X" within the same update operation.
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.
Offline
Yeah, that's what I figured. For now, I removed the validation from the auto-generated ticket and enabled it on the form. So the validator validates the form and then the ticket gets generated with my rule based only on the category criterion.
Thanks
Offline