Thanks Ruslan/Stuart, <div><br></div><div>I haven't given your query a shot but I believe i've found a solution that was already developed by Fran F. :</div><div><br></div><div><a href="http://requesttracker.wikia.com/wiki/TimeWorkedReport">http://requesttracker.wikia.com/wiki/TimeWorkedReport</a></div>
<div><br></div><div>Thanks all!</div><div><br></div><div>Regards,</div><div>tar<br><br><div class="gmail_quote">On Wed, Jan 5, 2011 at 4:13 PM, Ruslan Zakirov <span dir="ltr"><<a href="mailto:ruz@bestpractical.com">ruz@bestpractical.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Hi,<br>
<br>
SELECT SUM(TimeWorked) FROM Transactions WHERE ObjectId = <ticket id><br>
AND ObjectType = 'RT::Ticket' AND Created BETWEEN <start date> AND<br>
<end date>;<br>
<div><div></div><div class="h5"><br>
On Thu, Jan 6, 2011 at 1:45 AM, tarminuscf <<a href="mailto:tarminuscf@gmail.com">tarminuscf@gmail.com</a>> wrote:<br>
><br>
> Hi All,<br>
><br>
> If I have a ticket that is 1 month old. How can I get the value of time<br>
> worked tallied up for only the last 7 days the ticket was worked on?<br>
><br>
> So if the ticket has a grand total of 200 minutes on the 1 month old ticket.<br>
> But the last 7 days only have a cumulative 60 minutes worked. The value<br>
> I would be looking for is that 60 minutes.<br>
><br>
> Anyone have insights on how I can get that value by means of RT reporting<br>
> or direct DB query?<br>
><br>
> thanks,<br>
> tar<br>
> --<br>
> View this message in context: <a href="http://old.nabble.com/time-worked---within-a-certain-time-period-tp30600856p30600856.html" target="_blank">http://old.nabble.com/time-worked---within-a-certain-time-period-tp30600856p30600856.html</a><br>
> Sent from the Request Tracker - User mailing list archive at Nabble.com.<br>
><br>
><br>
<br>
<br>
<br>
</div></div><font color="#888888">--<br>
Best regards, Ruslan.<br>
</font></blockquote></div><br></div>