Try id instead of name, but I wouldn't be surprised if it doesn't work.
Ruslan from phone.
29.03.2012 13:54 пользователь Arthur Rance arthur_ra...@hotmail.com
написал:
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...