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 2016-05-26 11:41:22

deathvarg
Member
From: Ukraine
Registered: 2016-05-20
Posts: 15

Behaviour plugin: how to change logic of assignig tech groups

Hi all!

I want to make notification to tech group when ticket is assigned on this group.

I created new notification:
Name: Bla bla
Type: Ticket
Event: Assign to a group (reached by using Behaviours plugin v1.0)
Recipients: Group in charge of the ticket.

Also, with Behaviour plugin, I enabled "Use single user and group"

I pretty sure that it should work good: when I changed tech group in ticket from Group1 to Group2, all members of Group2 should recieved email notification Bla bla. And, actualy, it works.

But!
Members of Group1 recieved this email too. It makes this notification useless.

I guess, It happens because GLPI logic of reassigning tech groups is:
First, GLPI adds new group to ticket
Second, GLPI deletes previous group from ticket.

And trigger "Assign to a group" worked on First step.
So, "Group in charge of the ticket" have two values: Group1 and Group2.

Does anyone know how to change this behaviour?

Thank you!

Offline

#2 2016-05-26 17:52:20

KKAdmin
Member
From: Germany
Registered: 2010-03-05
Posts: 959

Re: Behaviour plugin: how to change logic of assignig tech groups

I'm not sure but take a look at this. https://forge.glpi-project.org/issues/5481
(I don't know or use this plugin.)


You can mark this threat as [resolved] in subject of your threat. (This is only available edit of the first post.) It is good for users who help others to quickly see which post is still open.
##############################################
GLPI 9.3.3

Offline

#3 2016-05-27 09:55:28

yllen
GLPI-DEV
From: Sillery (51)
Registered: 2008-01-14
Posts: 15,278

Re: Behaviour plugin: how to change logic of assignig tech groups

Yes it's the correct url


CentOS 6.5 - CentOS 7.x
PHP 5.6 - PHP 7.x - MySQL 5.6  - MariaDB 10.2 + APC + oOPcache
GLPI from 0.72 to dev version
Certifiée ITIL (ITV2F, ITILF, ITILOSA)

Offline

Board footer

Powered by FluxBB