Hi Marco,
Marco Catunda wrote:
Does anyone know what is wrong?
Your code worked for me. I was able to create tickets.
What is snippet code I have to add in this code to populate custom field?
I was able to add custom fields during ticket creation. I assigned the
value to the ticket_vals hash. e.g:
You'll need the id of the custom field for this.
$ticket_vals{"CustomFields-" . $cfid} = $value;
before passing the hash to the $ticket->Create subroutine.
PS: I am trying to integrate RT with Nagios.
Thanks,
Regards,
Terence.
_______________________________________________
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users
Community help: http://wiki.bestpractical.com
Commercial support: [EMAIL PROTECTED]
Discover RT's hidden secrets with RT Essentials from O'Reilly Media.
Buy a copy at http://rtbook.bestpractical.com