Moving to new queue

I know this is right under my nose, but I can’t see it.

$Ticket ISA RT::Ticket. How do I move $Ticket into another queue?

-Rich

Rich Lafferty --------------±----------------------------------------------
Ottawa, Ontario, Canada | Save the Pacific Northwest Tree Octopus!
http://www.lafferty.ca/ | http://zapatopi.net/treeoctopus.html
rich@lafferty.ca -----------±----------------------------------------------

I know this is right under my nose, but I can’t see it.

$Ticket ISA RT::Ticket. How do I move $Ticket into another queue?

-Rich

This should do it:

$Ticket->SetQueue("queue");

Travis
Travis Campbell - Unix Systems Administrator = travis@beast.amd.com
5900 E. Ben White Blvd, Austin, TX 78741 = travis.campbell@amd.com
TEL: (512) 602-1888 PAG: (512) 604-0341 = webmaster@beast.amd.com
"Does anything work as expected?" Yes. An axe through the CPU.

$Ticket ISA RT::Ticket. How do I move $Ticket into another queue?

This should do it:

$Ticket->SetQueue(“queue”);

See, I told you it was right under my nose. :slight_smile: Thanks!

(For the sake of the archives, SetQueue takes a queue id as argument,
not a queue name.)

-Rich

Rich Lafferty --------------±----------------------------------------------
Ottawa, Ontario, Canada | Save the Pacific Northwest Tree Octopus!
http://www.lafferty.ca/ | http://zapatopi.net/treeoctopus.html
rich@lafferty.ca -----------±----------------------------------------------