Setting scrip conditions on select transaction types

Hi there, Is there a way of setting a scrip to execute when a ticket is assigned
from one user to another (but not for other transactions ie. I don’t want to
use OnTransaction)?

If not is this something that is likely to be added in 2.2. I noticed in the
"Thoughts on 2.2" mail to rt-dev from Jesse:
must Include more Conditions;

Is this the sort of thing you’re talking about?

I’m guessing what would happen is that you’d be able to set some sort of
transaction specific condition. eg. OnTransactionGive in this case?

Thanks
Andy

Hi there, Is there a way of setting a scrip to execute when a ticket
is assigned from one user to another (but not for other transactions
ie. I don’t want to use OnTransaction)?

I just did this, add this little code snippet to your ScripConditions:
http://www.fsck.com/pub/rt/contrib/2.0/OwnerChange/OwnerChange.pm

You have to att this to both path/rt2/lib/RT/Condition and to you
ScripConditions table in the database.

patrik_wallstrom->foodfight->pawal@blipp.com->+46-706355528

Patrik Wallstrom wrote:

Hi there, Is there a way of setting a scrip to execute when a ticket
is assigned from one user to another (but not for other transactions
ie. I don’t want to use OnTransaction)?

I just did this, add this little code snippet to your ScripConditions:
http://www.fsck.com/pub/rt/contrib/2.0/OwnerChange/OwnerChange.pm

You have to att this to both path/rt2/lib/RT/Condition and to you
ScripConditions table in the database.

Can this not be added to rt-2.0.9 ? As I too would find it usefull.

Greg