Ken-<br><br>I have customized the export report found in 'share/html/Search/Results.tsv'. I created a new file and added this section to pull the last correspondence. You could easily change it to fit comments:<br>
<br># #################<br> my $Transactions = $Ticket->Transactions;<br> $Transactions->Limit( FIELD => 'Type', VALUE => 'Correspond' );<br> $Transactions->OrderByCols (<br> { FIELD => 'Created', ORDER => 'DESC' },<br>
{ FIELD => 'id', ORDER => 'DESC' },<br> );<br><br> my $last_reply = ''; <br> my $CorrespondObj = $Transactions->First;<br> if( $CorrespondObj && $CorrespondObj->id ) {<br>
$last_reply= $CorrespondObj->Content;<br> }<br> <br> $row->{'last_reply'} = $last_reply;<br># #####################<br><br> push @rows, $row;<br><br><br>That might help you to come up with an export anyhow.... <br>
<br>Matt<br><br><div class="gmail_quote">On Wed, Mar 4, 2009 at 10:15 AM, Kenneth Crocker <span dir="ltr"><<a href="mailto:KFCrocker@lbl.gov">KFCrocker@lbl.gov</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
To all,<br>
<br>
<br>
So far, I've been able to develop every kind of query/report my users<br>
have asked for. Now someone wants a Query/report that would include the<br>
comments (only. Not any email, etc.) in the results. I have not been<br>
able to find that option in Query builder. Has anyone developed a query<br>
that will pull up comments? Thanks.<br>
<br>
<br>
Kenn<br>
LBNL<br>
<br>
_______________________________________________<br>
<a href="http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users" target="_blank">http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users</a><br>
<br>
Community help: <a href="http://wiki.bestpractical.com" target="_blank">http://wiki.bestpractical.com</a><br>
Commercial support: <a href="mailto:sales@bestpractical.com">sales@bestpractical.com</a><br>
<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>