<div dir="ltr">Hi all,<br><br>I'm looking for a way to add tickets automatically when a select a value of a Custom field, I try to do this:<br><br><br>Condition: defined by user<br>Action: Create tickets<br>Template: Approved<br>
Stage: TransactionCreate<br><br>Condition: <br><br>return undef unless<br>($self->TicketObj->FirstCustomFieldValue('test2') =~ /Oui/i);<br>return 1; <br><br>Template: <br><br>===Create-Ticket: codereview<br>
Subject: Code review for {$Tickets{'TOP'}->Subject}<br>Depended-On-By: TOP<br>Queue: Test<br>Type: approval<br>Content: Someone has created a ticket. you should review and approve it, so they can finish their work<br>
ENDOFCONTENT<br><br>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?<br>
<br>Thank you,<br><br></div>