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 2025-01-10 15:34:17

Kaya84
Member
Registered: 2019-06-13
Posts: 228

Ticket "assigned to" based on category

I know this has already been discussed, but I really can't find the information.

I have created a new ticket with basic information (description and requester) and saved it.
Now I need to set the category. When I update the category, I want the "Assigned to" field to automatically populate with the members of the "Group in charge" for that category.

I need to use business rules? Or what ?

Thanks!

Offline

#2 2025-01-12 03:05:12

cconard96
Moderator
Registered: 2018-07-31
Posts: 3,289
Website

Re: Ticket "assigned to" based on category

You can set the group/user in charge fields in the category form. As long as you don't assign the tickets to someone when you create the tickets, the group/user in charge of the category should be assigned automatically.
This only works during the ticket creation.


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 2025-01-13 09:54:59

Kaya84
Member
Registered: 2019-06-13
Posts: 228

Re: Ticket "assigned to" based on category

Ok, as I can understand, when I update an already created ticket, even if "category" field is empty, nothing will happen.
Automatic association will be only on creation time.
Right?
Thanks

Offline

#4 2025-01-13 13:36:34

cconard96
Moderator
Registered: 2018-07-31
Posts: 3,289
Website

Re: Ticket "assigned to" based on category

Yes. Association this way only works for the creation of the ticket. If you want technicians added based on category after that, you can use Business Rules for Tickets.


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

#5 2025-01-13 14:50:35

Kaya84
Member
Registered: 2019-06-13
Posts: 228

Re: Ticket "assigned to" based on category

I take a look on business rules.
As I can understand, there is no a rule like "on category change set the technician group based on category" but I have to create a rule for every category, right?

Offline

#6 2025-01-14 22:48:37

cconard96
Moderator
Registered: 2018-07-31
Posts: 3,289
Website

Re: Ticket "assigned to" based on category

Nope. You just need a single rule:
Selection-401.png


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

#7 2025-01-15 09:51:25

Kaya84
Member
Registered: 2019-06-13
Posts: 228

Re: Ticket "assigned to" based on category

cconard96 wrote:

Nope. You just need a single rule:
https://i.ibb.co/L8gFqz8/Selection-401.png

Thanks for the answer but I'm probably blind:
Where I have to put the #0 ??

image.png

Offline

#8 2025-01-15 13:03:25

cconard96
Moderator
Registered: 2018-07-31
Posts: 3,289
Website

Re: Ticket "assigned to" based on category

Change Assign to "Assign the value from regular expression".

The rule criteria is a regular expression which captures the entire Category name into group #0. The action then assigns the group that matches the captured content.


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

#9 2025-01-15 14:09:39

Kaya84
Member
Registered: 2019-06-13
Posts: 228

Re: Ticket "assigned to" based on category

Uhm... I only have assign and add

image.png

What I'm missing?

Offline

#10 2025-01-15 14:53:50

cconard96
Moderator
Registered: 2018-07-31
Posts: 3,289
Website

Re: Ticket "assigned to" based on category

Which version of GLPI are you using?


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

#11 2025-01-15 14:55:35

Kaya84
Member
Registered: 2019-06-13
Posts: 228

Re: Ticket "assigned to" based on category

cconard96 wrote:

Which version of GLPI are you using?

GLPI 10.0.15

Offline

#12 2025-01-15 14:55:49

cconard96
Moderator
Registered: 2018-07-31
Posts: 3,289
Website

Re: Ticket "assigned to" based on category

Nevermind, I realized I am testing with the upcoming GLPI 10.0.18 and this is something that was just added for this version.

GLPI 10.0.18 should be released next month with this feature.

https://github.com/glpi-project/glpi/pull/18394


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

#13 2025-01-15 14:58:17

Kaya84
Member
Registered: 2019-06-13
Posts: 228

Re: Ticket "assigned to" based on category

cconard96 wrote:

Nevermind, I realized I am testing with the upcoming GLPI 10.0.18 and this is something that was just added for this version.

GLPI 10.0.18 should be released next month with this feature.

https://github.com/glpi-project/glpi/pull/18394

Thank you very much for your support.
I will wait for the next release!

Offline

#14 2025-02-18 10:13:00

Kaya84
Member
Registered: 2019-06-13
Posts: 228

Re: Ticket "assigned to" based on category

cconard96 wrote:

Nevermind, I realized I am testing with the upcoming GLPI 10.0.18 and this is something that was just added for this version.

GLPI 10.0.18 should be released next month with this feature.

https://github.com/glpi-project/glpi/pull/18394

Hi cconard, can you confirm that the new release include that functionality?

Thx

Offline

#15 2025-02-18 20:02:31

cconard96
Moderator
Registered: 2018-07-31
Posts: 3,289
Website

Re: Ticket "assigned to" based on category

Yes. The pull request I linked was merged into the 10.0 bugfix branch before the 10.0.18 release so it is part of that version.


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

#16 2025-02-19 15:48:50

wjqwh
Member
Registered: 2025-02-19
Posts: 19

Re: Ticket "assigned to" based on category

Hello,
Why I can't see users or group in catalog dropdown.
It says: the results could not be loaded.

Thanks.

Offline

Board footer

Powered by FluxBB