[rt-users] REST + user without e-mail address = no requestor

Arthur Rance arthur_rance at hotmail.com
Thu Mar 29 05:54:03 EDT 2012


Hello,
Is it possible to create a ticket through REST with a user which has no e-mail address ?
This doesn't work :
#!/usr/bin/env perl
use strict;
use RT::Client::REST;
my $rt = RT::Client::REST->new( server => 'http://myrtserver' );$rt->login(username => 'user', password => 'password' );
$rt->create(  type => 'ticket',  set =>  {    requestor => 'rt_user', # user with no e-mail address    queue => 'test',    subject => 'test'  },  text => '1 2 1 2 this is a test');
# the ticket is created without any requestor...
 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20120329/40783d74/attachment.htm>


More information about the rt-users mailing list