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-12-21 10:55:04

dginfoprojekt
Member
Registered: 2023-11-13
Posts: 9

Simple problem - auto assign location to ticket

Good morning,
I would like to make a fairly simple rule, I am using the latest GLPI, community edition. I have users with locations and categories set. I would like it to set the same location for the ticket in the e-mail coming from this user based on their location/category (which are the same). At the moment, all tickets created via email are set to undefined locations. ( ---- )
I will be grateful for your help!
Happy Christmas!


Lorem ipsum dolorosa...

Offline

#2 2023-12-21 14:55:31

zekaleka
Member
Registered: 2023-09-14
Posts: 29

Re: Simple problem - auto assign location to ticket

create rule whatever expression you want: /front/rulemailcollector.php

Offline

#3 2023-12-22 09:11:38

dginfoprojekt
Member
Registered: 2023-11-13
Posts: 9

Re: Simple problem - auto assign location to ticket

But i dont see in actions any way to modify tickets location sad
All i see is Unit or Reject Email (6 options total in Actions).


Lorem ipsum dolorosa...

Offline

#4 2023-12-22 15:21:00

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

Re: Simple problem - auto assign location to ticket

Mail collector rules are only for entity assignments and optionally rejecting imported emails. After that, the regular Business Rules for Tickets apply.

Rule: Ticket Location From User
Criteria:
1. Location > does not exist
2. Requester location > exists
Actions:
1. Location > copy from user

If you want it to only apply to imported email tickets, add the criteria "Mails receiver is X" (for a specific receiver) or "Mails receiver exists" (for any collector).


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

#5 2023-12-27 09:39:35

dginfoprojekt
Member
Registered: 2023-11-13
Posts: 9

Re: Simple problem - auto assign location to ticket

It works! big_smile
Thanks cconard96!


Lorem ipsum dolorosa...

Offline

Board footer

Powered by FluxBB