The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

RT-Extension-NotifyBasedOnOwnership - Adds scrip conditions and actions useful for suppressing notifications to queue watchers when a ticket becomes owned

SYNOPSIS

Adds the following conditions to RT:

On Create and Unowned
On Create and Owned
On Correspond and Unowned
On Correspond and Owned
On Comment and Unowned
On Comment and Owned

Adds the following actions to RT:

Notify Requestors and Ticket Ccs
Notify Owner and Ticket AdminCcs
Notify Requestors and Ticket Ccs as Comment
Notify Owner and Ticket AdminCcs as Comment

DESCRIPTION

A typical use of these conditions and actions is to add scrips like the following:

    On Correspond and Unowned Notify AdminCcs
    On Correspond and Unowned Notify Requestors and Ccs

    On Correspond and Owned Notify Owner and Ticket AdminCcs
    On Correspond and Owned Notify Requestors and Ticket Ccs

    On Comment and Unowned Notify AdminCcs as Comment
    On Comment and Owned Notify Owner and Ticket AdminCcs as Comment

If you add the above, you'll want to replace or disable the stock On Correspond and On Comment scrips targetting Requestors, Owners, Ccs, and AdminCcs. Otherwise, RT will send multiple notifications.

Be sure to leave the standard scrips in place which notify "Other Recipients" so that "One-time Ccs" and "One-time BCcs" still work correctly.

INSTALLATION

perl Makefile.PL
make
make install

May need root permissions

make initdb

Only run this the first time you install this module.

If you run this twice, you may end up with duplicate data in your database.

If you are upgrading this module, check for upgrading instructions in case changes need to be made to your database.

Edit your /opt/rt4/etc/RT_SiteConfig.pm

Add this line:

    Set(@Plugins, qw(RT::Extension::NotifyBasedOnOwnership));

or add RT::Extension::NotifyBasedOnOwnership to your existing @Plugins line.

Clear your mason cache
    rm -rf /opt/rt4/var/mason_data/obj
Restart your webserver

AUTHOR

Thomas Sibley <trs@bestpractical.com>

BUGS

All bugs should be reported via email to bug-RT-Extension-NotifyBasedOnOwnership@rt.cpan.org or via the web at rt.cpan.org.

LICENSE AND COPYRIGHT

This software is Copyright (c) 2013 by Best Practical Solutions

This is free software, licensed under:

  The GNU General Public License, Version 2, June 1991