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

Ken Crocker kfcrocker at lbl.gov
Wed Mar 25 13:00:07 EDT 2009


Hanane,


    Try dropping the semicolon. It's not needed in a template. I insert 
all sorts of Ticket and Custom Field data in my templates and never use 
the semi-colon. Hope this helps.


Kenn
LBNL

On 3/25/2009 5:25 AM, hanane ourdani wrote:
> 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 
> <mailto: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,
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users
>
> Community help: http://wiki.bestpractical.com
> Commercial support: sales at bestpractical.com
>
>
> Discover RT's hidden secrets with RT Essentials from O'Reilly Media. 
> Buy a copy at http://rtbook.bestpractical.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20090325/8da9dfa9/attachment.htm>


More information about the rt-users mailing list