Bill,<br><br>Why not just edit your "resolved" template to just include certain ticket info and no comments?<br><br>Kenn<br>LBNL<br><br><div class="gmail_quote">On Thu, Apr 29, 2010 at 7:59 PM, Bill Galeckas <span dir="ltr"><<a href="mailto:bill93@gmail.com">bill93@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">Hello,<br><br>I've been banging my head on this for days... searched the
lists high and low... and I finally give up.<br><br>Here's what I'm
trying to do:<br><br>I'd like to have the final "resolve comment" not be
sent out. However, I don't want to break the built-in functionality of
the "On Comment Notify
AdminCcs as Comment".<br><br>Basically, I need a "On Comment Notify
AdminCcs as Comment Unless Resolved".<br><br>I have two custom scrips
that will notify the Owner and Requestor already. (I use the method
shown here:
<a href="http://www.gossamer-threads.com/lists/rt/users/68726#68726" target="_blank">http://www.gossamer-threads.com/lists/rt/users/68726#68726</a>
to pull the final comment into the email to the Requestor.) <br><br>I
know this is probably just a matter of setting a custom condition... but
I just can't seem to get the syntax right! (I've tried pretty much
every combination I can think of, using this: <a href="http://wiki.bestpractical.com/view/CustomConditionSnippets" target="_blank">http://wiki.bestpractical.com/view/CustomConditionSnippets</a>
and RT Essentials as a guide.) I feel like I'm close... but I'm just
missing that one little thing...<br>
<br>My best guess:<br><br>Description: On Comment Notify
AdminCcs as Comment Unless Resolved<br>Condition: User Defined<br>Action:Notify
AdminCcs as Comment<br>Template: Global Template: Admin Comment<br>Stage:
TransactionCreate<br><br>Custom Condition:<br>if (
$self->TransactionObj->Type eq "Comment"<br>
&& $self->TransactionObj->Field eq "Status"<br>
&& $self->TransactionObj->NewValue eq "resolved" )<br>{<br>return 0;<br>} else {<br>return 1;<br>}<br><br>Oh, mighty RT
guru's... can someone help a guy out?<br><br>Thanks,<div style="text-align: left;">Bill<br>
</div>
<br><br>
Discover RT's hidden secrets with RT Essentials from O'Reilly Media.<br>
Buy a copy at <a href="http://rtbook.bestpractical.com" target="_blank">http://rtbook.bestpractical.com</a><br></blockquote></div><br>