[rt-users] Copy Multiple value CF to the child ticket

Ahmed, Mohammed Naweed (LNG-BCT) naweedmohammed.ahmed at lexisnexis.com
Fri Jan 7 11:02:44 EST 2011


So, does this mean that I have to upgrade to 3.8.7 to copy multiple
value custom filed to a child ticket?

Thanks
N Ahmed

-----Original Message-----
From: rt-users-bounces at lists.bestpractical.com
[mailto:rt-users-bounces at lists.bestpractical.com] On Behalf Of Kevin
Falcone
Sent: Friday, January 07, 2011 9:44 AM
To: rt-users at lists.bestpractical.com
Subject: Re: [rt-users] Copy Multiple value CF to the child ticket

On Thu, Jan 06, 2011 at 02:04:41PM -0500, Ahmed, Mohammed Naweed
(LNG-BCT) wrote:
> 
> I am using version 3.8.4 so CustomFieldValuesAsString is not
available.
> 
> I changed the template like this:
> CustomField-n: {
>              my $separator = "\n";
>              my $CFValue = $Tickets{'TOP'}->CustomFieldValues(n);
>              return join ($separator, grep { defined $_ }
>                           map { $_->Content }
> @{$CFValue->ItemsArrayRef});
>                }
> 
> To get the values as strings but it still not working, Am I doing
> something wrong or is there any extension available for
> 'CustomFieldValuesAsString' method?

You could define it in a local .pm adding it into the Record, or you
could play around with warning to make sure you get the right data.
I'm not sure that return'ing in a template does what you really want.

-kevin

-----------------------------------------
The information contained in this e-mail message is intended only
for the personal and confidential use of the recipient(s) named
above. This message may be an attorney-client communication and/or
work product and as such is privileged and confidential. If the
reader of this message is not the intended recipient or an agent
responsible for delivering it to the intended recipient, you are
hereby notified that you have received this document in error and
that any review, dissemination, distribution, or copying of this
message is strictly prohibited. If you have received this
communication in error, please notify us immediately by e-mail, and
delete the original message.



More information about the rt-users mailing list