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. Discover RT's hidden secrets with RT Essentials from O'Reilly Media. Buy a copy at http://rtbook.bestpractical.com