[rt-users] Passing CF values to child
Emmanuel Lacour
elacour at easter-eggs.com
Mon Jun 14 11:30:03 EDT 2010
On Mon, Jun 14, 2010 at 08:23:05AM -0700, Jonathan Rummel wrote:
>
> All,
>
> Would anyone be able to give me an idea of how to pass a custom field value
> through to it's auto-created child ticket using a template? Right now, my
> template looks like this:
>
> What I want to do is pass the value that is selected in the "State" custom
> field of the parent ticket through to the "State" custom field of the child
> ticket so when the child is created, that value is already populated. I'm
> using RT 3.6.5 with MySQL. Can anyone please help?
>
you can get current value with
{$Tickets{'TOP'}->FirstCustomFieldValue('State')}
and so add to your template:
CF-State: {$Tickets{'TOP'}->FirstCustomFieldValue('State')}
... I think
More information about the rt-users
mailing list