<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Mike,<br>
<br>
We use this for when a ticket is moved to another Queue:<br>
<br>
# set new Ticket Owner value<br>
my $ticket = $self->TicketObj;<br>
$ticket->SetStatus("new");<br>
$ticket->SetOwner(10, 'Force');<br>
return 1;<br>
<br>
The above code is put into the cleanup code. Hope this helps<br>
<br>
<br>
Kenn<br>
LBNL<br>
<br>
<br>
On 9/24/2009 1:02 PM, Mike Johnson wrote:
<blockquote cite="mid:4ABB980D.4EF5.001E.0@NorMed.ca" type="cite">
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
<meta name="GENERATOR" content="MSHTML 8.00.6001.18812">
<div>I was looking through the list's history.</div>
<div> </div>
<div>The original email did not get an answer to it.</div>
<div> </div>
<div>The piece that interests me about this listserv topic(dating
back to Aug 2007)....</div>
<div> </div>
<div> </div>
<div>Sean, and myself are trying to set a ticket's owner to nobody on
an action...</div>
<div> </div>
<div>He stated,</div>
<div> </div>
<div>I've tried:<br>
<br>
$self->TicketObj->SetOwner("Nobody");<br>
$self->TicketObj->SetOwner(Nobody);<br>
$self->TicketObj->SetOwner("10");<br>
$self->TicketObj->SetOwner(10);<br>
$self->TicketObj->SetOwner(Name => "Nobody");<br>
$self->TicketObj->SetOwner(Name => Nobody);<br>
$self->TicketObj->SetOwner(Id => "10");<br>
$self->TicketObj->SetOwner(Id => 10);<br>
<br>
None of these has worked and nothing in rt.log indicates any problems.
I have<br>
it set up with debug so I know I'm getting as much info as I can.<br>
</div>
<div> </div>
<div>Can anyone tell me which of the above? and what else do I need
to set to make this happen on a specific condition(I'm using On Queue
change).</div>
<div> </div>
<div>
<div>Mike Johnson<br>
Datatel Programmer/Analyst<br>
Northern Ontario School of Medicine<br>
955 Oliver Road<br>
Thunder Bay, ON P7B 5E1<br>
Phone: 807.766.7331<br>
Email: <a moz-do-not-send="true" href="mailto:mike.johnson@normed.ca">mike.johnson@normed.ca</a></div>
<div>Technology assistance: email <a moz-do-not-send="true"
href="mailto:nosmhelpdesk@normed.ca">nosmhelpdesk@normed.ca</a> <br>
Technology Emergency Contact (TEC) Mon-Fri, 8am to 5pm excluding stat
holidays: <br>
Off campus toll free 1-800-461-8777, option 8, or locally either <br>
(705)-662-7120 or (807)-766-7500<br>
</div>
</div>
<pre wrap="">
<hr size="4" width="90%">
_______________________________________________
<a class="moz-txt-link-freetext" href="http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users">http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users</a>
Community help: <a class="moz-txt-link-freetext" href="http://wiki.bestpractical.com">http://wiki.bestpractical.com</a>
Commercial support: <a class="moz-txt-link-abbreviated" href="mailto:sales@bestpractical.com">sales@bestpractical.com</a>
Discover RT's hidden secrets with RT Essentials from O'Reilly Media.
Buy a copy at <a class="moz-txt-link-freetext" href="http://rtbook.bestpractical.com">http://rtbook.bestpractical.com</a></pre>
</blockquote>
</body>
</html>