[rt-users] calculating worked time from child tickets

Emmanuel Lacour elacour at easter-eggs.com
Fri May 28 09:35:48 EDT 2010


On Fri, May 28, 2010 at 03:29:33PM +0200, Richard Pijnenburg wrote:
> Hi all,
> 
>  
> 
> We work a lot with a main ticket with sub tickets below it.
> 
> For each sub ticket 'time worked' is filled in.
> 
> At this moment we manually calculate it and put it in the main ticket.
> 
> Is there a way to automate this?
> 
> I think it could be done with a scrip with a "on update" type thing I
> think.
> 

yes, I think this is the best to do, a custom scrip on this queue, that
on any Transaction look if this ticket as child and update the
timeworked if needed. On http://wiki.bestpractical.com/, you will find
some scrips conditions/examples that may help you.




More information about the rt-users mailing list