Chris,<br><br>We do something similar to Payam. We have an Oracle DataBase so we created a "view" of the RT data to allow us to use COGNOS (or other reporting software) to create reports from RT data. Works great.<br>
<br>Kenn<br>LBNL<br><br><div class="gmail_quote">On Fri, Feb 11, 2011 at 1:32 AM, Payam Poursaied <span dir="ltr"><<a href="mailto:payam@rasana.net">payam@rasana.net</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;">
You could start by database<br>
<br>
select<br>
Transactions.id,ObjectType,ObjectId,Type,Transactions.Created,Name,EmailAddr<br>
ess from Transactions<br>
inner join Users on Users.id=Transactions.Creator<br>
where ObjectType='RT::Ticket' and  Type='Comment' and<br>
Transactins.Created>='YYYY-MM-DD HH:MM:SS' and<br>
Transactions.Created<='YYYY-MM-DD HH:MM:SS';<br>
<br>
But be aware of 2 things:<br>
First: the time is not your localtime, it is GMT0<br>
second: if someone rather than your support team is allowed to comment on<br>
tickets, you would have them in the report<br>
<br>
<br>
<br>
<br>
Date: Thu, 10 Feb 2011 16:25:10 -0500<br>
From: Chris Hall <<a href="mailto:hiro24@gmail.com">hiro24@gmail.com</a>><br>
<div class="im">To: <a href="mailto:rt-users@lists.bestpractical.com">rt-users@lists.bestpractical.com</a><br>
Subject: Re: [rt-users] search by CommentedOnBy?<br>
<br>
</div><div><div></div><div class="h5">I hate to necro an old, dead thread but.. this seems to have come up again..<br>
from two separate people.  I did figure out if I edited the advanced section<br>
and added __CommentedOnBy__ I could at least see who the last person was to<br>
comment on a ticket, but here's my current problem:<br>
<br>
Helpdesk manager person has some software that spits out how many calls a<br>
given worker does, and wants to compare this with the RT records.  For<br>
example, Worker A takes 54 calls in a night.  Helpdesk manager person wants<br>
to check the RT records to see if he has made 54 comments for that given<br>
night.  Kind of a making sure ppl are doing what they're supposed to be<br>
doing.<br>
<br>
So sometime before the end of the month, I need to figure out a way to form<br>
a query to show all comments in a given month.  Maybe not "show" them, but<br>
just a list to say... Worker A commented on the following tickets this<br>
month.<br>
<br>
Does anybody have any suggestions where I could start with something like<br>
this?<br>
<br>
</div></div></blockquote></div><br>