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

hanane ourdani hanane.ourdani at gmail.com
Tue Mar 24 12:51:52 EDT 2009


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/20090324/9b5c04af/attachment.htm>


More information about the rt-users mailing list