Two questions: comments-to-ccfolk, statistics cgi... where to run

I’m running 2.0.7 on RH 7.1.

I think I’ve read all the docs for 1.0/2.0, but I’m sure I
missed something. I currently have global scrips:
OnCreate AutoreplyToRequestors with template Autoreply
OnCorrespond NotifyAllWatchers with template Correspondence
OnResolve NotifyRequestors with template Resolved
OnComment NotifyAdminCcsAsComment with template AdminComment
OnCreate NotifyAllWatchers with template Correspondence

Yet a comment does not get sent to CCers, only watchers of the queue.
I tried “OnComment, NotifyAllWatchers”, but this sends mail to the
Requestor also, and that is not what I intended.

To further demonstrate my ignorance, I really like that rt2stats CGI,
but I can’t seem to make it run as a cgi from the httpd as configured
for RT. I tried forcing a directory to be cgi-enabled, but something
seems to be preventing it from running. The cgi runs fine from the
command line, so its just an httpd config issue.

Any help would be appreciated… thanks.

Brian McClendon bam@intrinsic.com 650-966-6804

I suppose there should be another scrip action installed by default which mails comment to Ccs.

Execute the following SQL query to create a new scrip action:

rt2=# INSERT INTO scripactions (name,description,execmodule,argument,creator,created,lastupdatedby,lastupdated) VALUES (‘example.com-NotifyCcsAsComment’,‘Sends mail to Ccs’,‘NotifyAsComment’,‘Cc’,1,‘now’,1,now);

Note, that’s for postgres, I assume ‘now’ will work for mysql also as the current date. It’s the execmodule=‘NotifyAsComment’ and the argument=‘Cc’ that does the work.

Do a ‘SELECT * FROM scripactions;’ to get a look at how the existing scrip actions are set up first.

-Feargal.On Sun, 2 Dec 2001 00:35:53 -0800, Brian McClendon bam@intrinsic.com wrote:

I’m running 2.0.7 on RH 7.1.

I think I’ve read all the docs for 1.0/2.0, but I’m sure I
missed something. I currently have global scrips:
OnCreate AutoreplyToRequestors with template Autoreply
OnCorrespond NotifyAllWatchers with template Correspondence
OnResolve NotifyRequestors with template Resolved
OnComment NotifyAdminCcsAsComment with template AdminComment
OnCreate NotifyAllWatchers with template Correspondence

Yet a comment does not get sent to CCers, only watchers of the queue.
I tried “OnComment, NotifyAllWatchers”, but this sends mail to the
Requestor also, and that is not what I intended.




To further demonstrate my ignorance, I really like that rt2stats CGI,
but I can’t seem to make it run as a cgi from the httpd as configured
for RT. I tried forcing a directory to be cgi-enabled, but something
seems to be preventing it from running. The cgi runs fine from the
command line, so its just an httpd config issue.

Any help would be appreciated… thanks.

Brian McClendon bam@intrinsic.com 650-966-6804


rt-users mailing list
rt-users@lists.fsck.com
http://lists.fsck.com/mailman/listinfo/rt-users

Feargal Reilly, | Communications House,
Systems Administrator. | 1a Lower Pembroke Street,
The CIA - http://www.thecia.ie/ | Dublin 2,
Ph: +353-1-6768230 Fax: +353-1-6767720 | Ireland.

PGP fingerprint: 9EA0 F62E 2345 6062 E522 00F2 31D0 B1B0 D678 96DB

I’m running 2.0.7 on RH 7.1.

I think I’ve read all the docs for 1.0/2.0, but I’m sure I
missed something. I currently have global scrips:
OnCreate AutoreplyToRequestors with template Autoreply
OnCorrespond NotifyAllWatchers with template Correspondence
OnResolve NotifyRequestors with template Resolved
OnComment NotifyAdminCcsAsComment with template AdminComment
OnCreate NotifyAllWatchers with template Correspondence

Yet a comment does not get sent to CCers, only watchers of the queue.
I tried “OnComment, NotifyAllWatchers”, but this sends mail to the
Requestor also, and that is not what I intended.

Ccs are treated as ~equivalent to requestors. if you want someone to get
comments, you probably want them to be an admincc.

http://www.bestpractical.com/products/rt – Trouble Ticketing. Free.