[rt-users] Passing CF values to child

Kevin Falcone falcone at bestpractical.com
Mon Jun 14 12:35:06 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:
> ===Create-Ticket: jr-ticket-create
> Subject: {$Tickets{'TOP'}->Subject}
> Depended-On-By: {$Tickets{'TOP'}->Id()}
> Owner: jrummel
> Requestor: {$Tickets{'TOP'}->Creator}
> InitialPriority: {$Tickets{'TOP'}->Priority}
> Queue: Data Analysis
> Content: This is a child ticket automatically created from ticket
> #{$Tickets{'TOP'}->Id()}.
> 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?


Please read `perldoc /opt/rt3/lib/RT/Action/CreateTickets.pm`
which addresses this question, as well as listing all the other valid
options for that template

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 195 bytes
Desc: not available
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20100614/77b5e757/attachment.sig>

More information about the rt-users mailing list