[rt-users] how to transmit a value of custom field on an other custom field

hanane ourdani hanane.ourdani at gmail.com
Wed Mar 25 08:25:53 EDT 2009


I try to add this "test: {$Ticket->FirstCustomFieldValue('Your Custom Field
Name');}" on my template but that doesn't work,

Can you help me please,


2009/3/24 hanane ourdani <hanane.ourdani at gmail.com>

> Hi all,
>
> I'm looking for a way to add tickets automatically when a select a value of
> a Custom field, I try to do this:
>
>
> Condition: defined by user
> Action: Create tickets
> Template: Approved
> Stage: TransactionCreate
>
> Condition:
>
> return undef unless
> ($self->TicketObj->FirstCustomFieldValue('test2') =~ /Oui/i);
> return 1;
>
> Template:
>
> ===Create-Ticket: codereview
> Subject: Code review for {$Tickets{'TOP'}->Subject}
> Depended-On-By: TOP
> Queue: Test
> Type: approval
> Content: Someone has created a ticket. you should review and approve it, so
> they can finish their work
> ENDOFCONTENT
>
> This allows to create a ticket automaticlly when i Select 'Oui' on Custom
> Field 'test2', i need also to transmit automaticlly a value of an other
> custom field when i select 'Oui' on Custom Field 'test2', please can you
> tell me how i can do this?
>
> Thank you,
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20090325/cae70ba3/attachment.htm>


More information about the rt-users mailing list