[rt-users] Writing a Perl Module, assign new ticket to a group

Ruslan Zakirov ruz at bestpractical.com
Wed Mar 27 15:41:06 EDT 2013


Hi,

You can not set group as owner of a ticket.

On Tue, Mar 26, 2013 at 9:29 PM, Kevin Holleran
<holleran.kevin at gmail.com> wrote:
> Good afternoon,
>
> I want to assign a ticket to a group.  Do I need to do this with AdminCC or
> can I do it by setting the owner in the ticket object?
>
>     my ($child_id, $child_TransObj, $errorMsg) =
>
>         $child_ticket->Create(
>
>                               Queue     => $queue,
>
>                               Subject   => $queue . ' -> ' .$ticket->Id . '
> : ' . $ticket->Subject, #same as above.
>
>                               Parents  => $ticket->Id,
>
>                               Requestor => $mail,
>
>                               Owner => $group_id
>
>                               );
>
>
>
> Thanks.
>
> --
> Kevin Holleran
> Master of Science, Computer Information Systems
> Grand Valley State University
> Master of Business Administration
> Western Michigan University
> SANS GCFA, SANS GCFE,  CCNA, ISA, MCSA, MCDST, MCP
>
> "Do today what others won't, do tomorrow what others can't" - SEALFit
>
> "We are what we repeatedly do. Excellence, then, is not an act, but a
> habit." - Aristotle



-- 
Best regards, Ruslan.



More information about the rt-users mailing list