<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Thank you so much!!!<div class=""><br class=""></div><div class="">This worked great</div><div class=""><br class=""></div><div class="">I really do appreciate it.</div><div class=""><br class=""></div><div class="">Joe</div><div class=""><br class=""><div apple-content-edited="true" class="">
<span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px;  "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px;  "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; " class=""><div class=""><div class="">Joe Kirby ,  Assistant Vice President, Business Systems</div><div class="">Division of Information Technology (DoIT) </div><div class="">Support Response -   <a href="http://www.umbc.edu/doit" class="">http://www.umbc.edu/doit</a> </div><div class="">Administration 627</div><div class="">Office - 410-455-3020 </div><div class="">Email - <a href="mailto:kirby@umbc.edu" class="">kirby@umbc.edu</a></div></div></div></span></span>
</div>
<br class=""><div><blockquote type="cite" class=""><div class="">On Dec 2, 2015, at 11:14 AM, Matt Zagrabelny <<a href="mailto:mzagrabe@d.umn.edu" class="">mzagrabe@d.umn.edu</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class="">Hi Joe,<div class=""><br class=""></div><div class="">This is a guess - as we don't make use of creating child tickets with templates. </div><div class=""><br class=""></div><div class="">Replace the line, "ITNM-Topic: {$Tickets{'TOP'}->CustomFieldValuesAsString('ITNM-Topic’)}" with the following:</div><div class=""><br class=""></div><div class=""><div class="">{</div><div class=""> my $cf = $Tickets{TOP}->LoadCustomFieldByIdentifier('ITNM-Topic');</div><div class=""> my $topics = $cf->ValuesForObject($Tickets{TOP})->ItemsArrayRef;</div><div class=""><br class=""></div><div class=""> join "\n",</div><div class="">     map { "ITNM-Topic: " . $_->Content }</div><div class="">     @$topics</div><div class=""> ;</div><div class="">}<br class=""></div><div class=""><br class=""></div><div class="">The idea here is to insert into the template a line of:</div><div class=""><br class=""></div><div class="">ITNM-Topic: [blah]</div><div class=""><br class=""></div><div class="">for each value in your CF.</div><div class=""><br class=""></div><div class="">Alternatively to test things out, use the original line and an additional line to see if you can pass multiple values to a child ticket's CF:</div><div class=""><br class=""></div><div class="">ITNM-Topic: {$Tickets{'TOP'}->FirstCustomFieldValue('ITNM-Topic’)}<br class=""></div><div class="">ITNM-Topic: testing_multiple_values<br class=""></div><div class=""><br class=""></div><div class="">Hopefully that child ticket will have two values in its ITNM-Topic CF.</div><div class=""><br class=""></div><div class="">Hope that helps!</div><div class=""><br class=""></div><div class="">-m</div><div class=""><br class=""></div><div class="gmail_extra"><br class=""><div class="gmail_quote">On Wed, Dec 2, 2015 at 9:56 AM, Joe Kirby <span dir="ltr" class=""><<a href="mailto:kirby@umbc.edu" target="_blank" class="">kirby@umbc.edu</a>></span> wrote:<br class=""><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div style="word-wrap:break-word" class="">Thanks Matt<div class=""><br class=""></div><div class="">When I do this ITNM-Topic: {$Tickets{'TOP'}->CustomFieldValuesAsString('ITNM-Topic’)} I still just get the first 1 in the list for the child ticket. It show fine in the parent ticket of course but is not transferring down to the child.</div><div class=""><br class=""></div><div class="">I am on 4.2.11 </div><div class=""><br class=""></div><div class="">I appreciate your quick responses and ideas</div><div class=""><br class=""></div><div class="">I included a snapshot of the parent and child in case that helped.</div><div class=""><br class=""></div><div class=""><span id="cid:5AEE9529-7FCC-4C6B-AC70-B7AB7D58797D@umbc.edu"><Screen Shot 2015-12-02 at 10.55.34 AM.png></span><span id="cid:11995B04-4E3F-43DB-959D-DCCB91F0D559@umbc.edu"><Screen Shot 2015-12-02 at 10.54.57 AM.png></span></div><div class=""><br class=""></div><div class="">Joe</div><div class=""><br class=""><div class="">
<span style="border-collapse:separate;line-height:normal;border-spacing:0px" class=""><span style="border-collapse: separate; font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px;" class=""><div style="word-wrap:break-word" class=""><div class=""><div class="">Joe Kirby ,  Assistant Vice President, Business Systems</div><div class="">Division of Information Technology (DoIT) </div><div class="">Support Response -   <a href="http://www.umbc.edu/doit" target="_blank" class="">http://www.umbc.edu/doit</a> </div><div class="">Administration 627</div><div class="">Office - <a href="tel:410-455-3020" value="+14104553020" target="_blank" class="">410-455-3020</a> </div><div class="">Email - <a href="mailto:kirby@umbc.edu" target="_blank" class="">kirby@umbc.edu</a></div></div></div></span></span>
</div>
<br class=""><div class=""><blockquote type="cite" class=""><div class="">On Dec 2, 2015, at 10:38 AM, Matt Zagrabelny <<a href="mailto:mzagrabe@d.umn.edu" target="_blank" class="">mzagrabe@d.umn.edu</a>> wrote:</div><br class=""><div class=""><div class="">On Wed, Dec 2, 2015 at 9:35 AM, Joe Kirby <<a href="mailto:kirby@umbc.edu" target="_blank" class="">kirby@umbc.edu</a>> wrote:<br class=""><blockquote type="cite" class="">Matt<br class=""><br class="">I appreciate the suggestion however as a non-perl programmer I am not able<br class="">to transition this to my template<br class=""></blockquote><br class="">Sure.<br class=""><br class=""><blockquote type="cite" class="">I was hoping to have some command that would replace this line in the<br class="">template so the child ticket could receive all the values from the parent as<br class="">I am creating this dynamical via script/template<br class=""><br class="">ITNM-Topic: {$Tickets{'TOP'}->FirstCustomFieldValue('ITNM-Topic’)}<br class=""></blockquote><br class="">Just replace the "FirstCustomFieldValue" with "CustomFieldValuesAsString".<br class=""><br class="">-m<br class=""></div></div></blockquote></div><br class=""></div></div></blockquote></div><br class=""></div></div></div>
</div></blockquote></div><br class=""></div></body></html>