-LoadUserDefinedGroup('my_group_name');
my ($rc, $msg) = $rt_group-AddMember($rt_user-PrincipalId());
unless ($rc) {
print can't add $id to my_group_name: $msg\n;
}
--
Garry T. Williams --- 678-370-2438
___
http://lists.bestpractical.com
, Luke.
:-)
--
Garry T. Williams --- 678-370-2438
___
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
a key value pair -- it just
takes the id or name. So the above $cf-LoadByName(Name = $cf_name)
can be this instead:
$cf-Load($cf_name);
The Load() method will load by name, if its parameter is not an
integer.
--
Garry T. Williams --- 678-370-2438
at Configuration-Queues-Ticket Custom Fields
--
Garry T. Williams --- 678-370-2438
___
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users
Community help: http://wiki.bestpractical.com
Commercial support: [EMAIL PROTECTED]
Discover RT's
-CustomFieldValues('Email')-First();
if ($val) {
$email = $val-Content();
}
# no value for 'Email' CF
else {
$email = '[EMAIL PROTECTED]';
}
$email;
}
See RT/Ticket_Overlay.pm and RT/Record.pm .
--
Garry T. Williams --- 678-370
value when accessed from some queue by some user.
It sounds like you need to add permissions for this custom field in
some queue.
Have a look at Configuration-Queues-Ticket Custom Fields
--
Garry T. Williams --- 678-370-2438
___
http
the custom action.
--
Garry T. Williams --- 678-656-4579
___
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
to
the list, of course.
--
Garry T. Williams --- 678-656-4579
___
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