<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=us-ascii"><meta name=Generator content="Microsoft Word 14 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:Tahoma;
panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
{mso-style-priority:99;
mso-style-link:"Balloon Text Char";
margin:0cm;
margin-bottom:.0001pt;
font-size:8.0pt;
font-family:"Tahoma","sans-serif";}
span.EmailStyle17
{mso-style-type:personal-reply;
font-family:"Calibri","sans-serif";
color:#1F497D;}
span.BalloonTextChar
{mso-style-name:"Balloon Text Char";
mso-style-priority:99;
mso-style-link:"Balloon Text";
font-family:"Tahoma","sans-serif";
mso-fareast-language:EN-GB;}
.MsoChpDefault
{mso-style-type:export-only;
font-size:10.0pt;
font-family:"Calibri","sans-serif";
mso-fareast-language:EN-US;}
@page WordSection1
{size:612.0pt 792.0pt;
margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=EN-GB link=blue vlink=purple><div class=WordSection1><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Thanks Kenn,<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'> That sounds really useful if it does it on ticket creation. Does it also update the times if people make an entry on MyDay.html? Just noticed with the current scrip I am using that it doesn’t update the time on parent tickets if a comment is added, which seems very strange to me, as time entered with no comment adds the time correctly.<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Thanks,<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Alex<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><b><span lang=EN-US style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span></b><span lang=EN-US style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'> rt-users-bounces@lists.bestpractical.com [mailto:rt-users-bounces@lists.bestpractical.com] <b>On Behalf Of </b>Kenneth Crocker<br><b>Sent:</b> 02 October 2012 04:22<br><b>To:</b> RT User List<br><b>Subject:</b> Re: [rt-users] Updating parent tickets with time fields<o:p></o:p></span></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Alex,<o:p></o:p></p><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>I wrote a scrip that adds time entered into a child ticket automatically to all parents of that ticket, in case that child has more than one parent or more than one grandparent, etc.<o:p></o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>I'll have to look it up, but check back with me in a couple days and I might have it by then. I'm not home and at a customer site at the moment.<o:p></o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal style='margin-bottom:12.0pt'>Kenn<o:p></o:p></p><div><p class=MsoNormal>On Mon, Oct 1, 2012 at 2:34 AM, Alex Young <<a href="mailto:AlexYoung@housingpartners.co.uk" target="_blank">AlexYoung@housingpartners.co.uk</a>> wrote:<o:p></o:p></p><p class=MsoNormal>I have very slightly modified the AutoUpdate Parents with TimeWorked<br>script<br>(<a href="http://requesttracker.wikia.com/wiki/AutoUpdate_Parents_with_TImeWorked" target="_blank">http://requesttracker.wikia.com/wiki/AutoUpdate_Parents_with_TImeWorked</a><br>) to also update Time Estimated and Time Left.<br><br>Everything works fine, except it doesn't update the parent ticket if you<br>put any time values in during ticket creation. As we are creating a lot<br>of child tickets, it would be much easier for us to be able to update<br>these fields during child ticket creation, rather than going into each<br>ticket to update them.<br><br>Any ideas how I could get this scrip to update when a ticket is created,<br>as well as when the field itself is modified?<br><br>Thanks.<br><br>--------<br>Final RT training for 2012 in Atlanta, GA - October 23 & 24<br> <a href="http://bestpractical.com/training" target="_blank">http://bestpractical.com/training</a><br><br>We're hiring! <a href="http://bestpractical.com/jobs" target="_blank">http://bestpractical.com/jobs</a><o:p></o:p></p></div><p class=MsoNormal><o:p> </o:p></p></div></div></body></html>