<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://rt-wiki.bestpractical.com/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Jober</id>
	<title>Request Tracker Wiki - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://rt-wiki.bestpractical.com/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Jober"/>
	<link rel="alternate" type="text/html" href="https://rt-wiki.bestpractical.com/wiki/Special:Contributions/Jober"/>
	<updated>2026-08-23T06:18:36Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.41.1</generator>
	<entry>
		<id>https://rt-wiki.bestpractical.com/index.php?title=CustomActionQchange&amp;diff=26423</id>
		<title>CustomActionQchange</title>
		<link rel="alternate" type="text/html" href="https://rt-wiki.bestpractical.com/index.php?title=CustomActionQchange&amp;diff=26423"/>
		<updated>2016-11-01T08:47:02Z</updated>

		<summary type="html">&lt;p&gt;Jober: minor update&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Below is a custom action module for adding RT::Action:Qchange via crontool that can be called for via a query similar to this &amp;quot;--action RT::Action::QChange --action-arg YOURNEWQUEUE --template &#039;blank&#039;&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Example &amp;lt;code&amp;gt; rt-crontool --transaction last --search RT::Search::FromSQL --search-arg &amp;quot;Queue = &#039;SLA’ AND (Status=&#039;new&#039; OR Status=&#039;open&#039;)&amp;quot; --condition RT::Condition::Overdue --action RT::Action::QChange --action-arg QUEUE --template &#039;SLA-escalation&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Create the file in a place where RT can call it (notice not to put it at a place that will be overwritten at an RT upgrade, ex /opt/rt4/lib/RT/Action/Qchange.pm&lt;br /&gt;
&lt;br /&gt;
This script was created by Andy Smith.&lt;br /&gt;
&lt;br /&gt;
Running on RT version 4.4.1&lt;br /&gt;
&lt;br /&gt;
==Code==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;# BEGIN BPS TAGGED BLOCK &amp;lt;nowiki&amp;gt;{{{&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;#&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;# COPYRIGHT:&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;#&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;# This software is Copyright (c) 1996-2015 Best Practical Solutions, LLC&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;#                                          &amp;lt;sales@bestpractical.com&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;#&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;# (Except where explicitly superseded by other copyright notices)&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;#&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;#&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;# LICENSE:&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;#&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;# This work is made available to you under the terms of Version 2 of&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;# the GNU General Public License. A copy of that license should have&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;# been provided with this software, but in any event can be snarfed&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;# from www.gnu.org.&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;#&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;# This work is distributed in the hope that it will be useful, but&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;# WITHOUT ANY WARRANTY; without even the implied warranty of&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;# General Public License for more details.&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;#&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;# You should have received a copy of the GNU General Public License&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;# along with this program; if not, write to the Free Software&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;# 02110-1301 or visit their web page on the internet at&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;# &amp;lt;nowiki&amp;gt;http://www.gnu.org/licenses/old-licenses/gpl-2.0.html&amp;lt;/nowiki&amp;gt;.&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;#&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;#&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;# CONTRIBUTION SUBMISSION POLICY:&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;#&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;# (The following paragraph is not intended to limit the rights granted&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;# to you to modify and distribute this software under the terms of&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;# the GNU General Public License and is only of importance to you if&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;# you choose to contribute your changes and enhancements to the&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;# community by submitting them to Best Practical Solutions, LLC.)&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;#&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;# By intentionally submitting any modifications, corrections or&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;# derivatives to this work, or any other work intended for use with&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;# Request Tracker, to Best Practical Solutions, LLC, you confirm that&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;# you are the copyright holder for those contributions and you grant&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;# Best Practical Solutions,  LLC a nonexclusive, worldwide, irrevocable,&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;# royalty-free, perpetual, license to use, copy, create derivative&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;# works based on those contributions, and sublicense and distribute&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;# those contributions and any derivatives thereof.&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;#&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;# END BPS TAGGED BLOCK &amp;lt;nowiki&amp;gt;}}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;package RT::Action::QChange;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;use strict;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;use warnings;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;use base qw(RT::Action::Notify);&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;use Email::Address;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;=head1 Notify Owner or AdminCc&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;If the owner of this ticket is Nobody, notify the AdminCcs.  Otherwise, only notify the Owner.&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;=cut&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;sub Prepare {&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;code&amp;gt;my $self = shift;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;code&amp;gt;return 1;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;}&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;my $self;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;sub Commit {&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;code&amp;gt;my $self = shift;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;my $argument = $self-&amp;gt;Argument;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
    &amp;lt;code&amp;gt;unless ( $argument ) {&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
        &amp;lt;code&amp;gt;$RT::Logger-&amp;gt;error(&amp;quot;Argument is mandatory for Test action&amp;quot;);&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
        &amp;lt;code&amp;gt;return 0;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
    &amp;lt;code&amp;gt;}&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;code&amp;gt;my ($status, $msg) = $self-&amp;gt;TicketObj-&amp;gt;SetQueue(&amp;quot;$argument&amp;quot;);&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;code&amp;gt;if ( not $status ) {&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
    &amp;lt;code&amp;gt;RT::Logger-&amp;gt;error(&amp;quot;Could not reassign queue: $msg&amp;quot;);&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
    &amp;lt;code&amp;gt;return 0;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
    &amp;lt;code&amp;gt;}&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
    &amp;lt;code&amp;gt;RT::Base-&amp;gt;_ImportOverlays();&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
    &amp;lt;code&amp;gt;return 1;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;}&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;1;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Contribution]]&lt;/div&gt;</summary>
		<author><name>Jober</name></author>
	</entry>
	<entry>
		<id>https://rt-wiki.bestpractical.com/index.php?title=CustomActionQchange&amp;diff=26422</id>
		<title>CustomActionQchange</title>
		<link rel="alternate" type="text/html" href="https://rt-wiki.bestpractical.com/index.php?title=CustomActionQchange&amp;diff=26422"/>
		<updated>2016-11-01T08:44:45Z</updated>

		<summary type="html">&lt;p&gt;Jober: formatting&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Below is a custom action module for adding RT::Action:Qchange via crontool that can be called for via a query similar to this &amp;quot;--action RT::Action::QChange --action-arg YOURQUEUE --template &#039;blank&#039;&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Create the file in a place where RT can call it (notice not to put it at a place that will be overwritten at an RT upgrade, ex /opt/rt4/lib/RT/Action/Qchange.pm&lt;br /&gt;
&lt;br /&gt;
This script was created by Andy Smith.&lt;br /&gt;
&lt;br /&gt;
==Code==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;# BEGIN BPS TAGGED BLOCK &amp;lt;nowiki&amp;gt;{{{&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;#&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;# COPYRIGHT:&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;#&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;# This software is Copyright (c) 1996-2015 Best Practical Solutions, LLC&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;#                                          &amp;lt;sales@bestpractical.com&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;#&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;# (Except where explicitly superseded by other copyright notices)&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;#&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;#&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;# LICENSE:&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;#&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;# This work is made available to you under the terms of Version 2 of&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;# the GNU General Public License. A copy of that license should have&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;# been provided with this software, but in any event can be snarfed&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;# from www.gnu.org.&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;#&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;# This work is distributed in the hope that it will be useful, but&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;# WITHOUT ANY WARRANTY; without even the implied warranty of&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;# General Public License for more details.&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;#&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;# You should have received a copy of the GNU General Public License&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;# along with this program; if not, write to the Free Software&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;# 02110-1301 or visit their web page on the internet at&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;# &amp;lt;nowiki&amp;gt;http://www.gnu.org/licenses/old-licenses/gpl-2.0.html&amp;lt;/nowiki&amp;gt;.&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;#&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;#&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;# CONTRIBUTION SUBMISSION POLICY:&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;#&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;# (The following paragraph is not intended to limit the rights granted&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;# to you to modify and distribute this software under the terms of&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;# the GNU General Public License and is only of importance to you if&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;# you choose to contribute your changes and enhancements to the&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;# community by submitting them to Best Practical Solutions, LLC.)&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;#&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;# By intentionally submitting any modifications, corrections or&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;# derivatives to this work, or any other work intended for use with&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;# Request Tracker, to Best Practical Solutions, LLC, you confirm that&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;# you are the copyright holder for those contributions and you grant&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;# Best Practical Solutions,  LLC a nonexclusive, worldwide, irrevocable,&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;# royalty-free, perpetual, license to use, copy, create derivative&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;# works based on those contributions, and sublicense and distribute&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;# those contributions and any derivatives thereof.&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;#&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;# END BPS TAGGED BLOCK &amp;lt;nowiki&amp;gt;}}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;package RT::Action::QChange;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;use strict;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;use warnings;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;use base qw(RT::Action::Notify);&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;use Email::Address;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;=head1 Notify Owner or AdminCc&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;If the owner of this ticket is Nobody, notify the AdminCcs.  Otherwise, only notify the Owner.&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;=cut&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;sub Prepare {&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;code&amp;gt;my $self = shift;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;code&amp;gt;return 1;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;}&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;my $self;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;sub Commit {&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;code&amp;gt;my $self = shift;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;my $argument = $self-&amp;gt;Argument;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
    &amp;lt;code&amp;gt;unless ( $argument ) {&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
        &amp;lt;code&amp;gt;$RT::Logger-&amp;gt;error(&amp;quot;Argument is mandatory for Test action&amp;quot;);&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
        &amp;lt;code&amp;gt;return 0;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
    &amp;lt;code&amp;gt;}&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;code&amp;gt;my ($status, $msg) = $self-&amp;gt;TicketObj-&amp;gt;SetQueue(&amp;quot;$argument&amp;quot;);&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;code&amp;gt;if ( not $status ) {&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
    &amp;lt;code&amp;gt;RT::Logger-&amp;gt;error(&amp;quot;Could not reassign queue: $msg&amp;quot;);&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
    &amp;lt;code&amp;gt;return 0;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
    &amp;lt;code&amp;gt;}&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
    &amp;lt;code&amp;gt;RT::Base-&amp;gt;_ImportOverlays();&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
    &amp;lt;code&amp;gt;return 1;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;}&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;1;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Contribution]]&lt;/div&gt;</summary>
		<author><name>Jober</name></author>
	</entry>
	<entry>
		<id>https://rt-wiki.bestpractical.com/index.php?title=CustomActionQchange&amp;diff=26421</id>
		<title>CustomActionQchange</title>
		<link rel="alternate" type="text/html" href="https://rt-wiki.bestpractical.com/index.php?title=CustomActionQchange&amp;diff=26421"/>
		<updated>2016-11-01T08:43:16Z</updated>

		<summary type="html">&lt;p&gt;Jober: CustomActionQchange, new page.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Below is a custom action module for adding RT::Action:Qchange via crontool that can be called for via a query similar to this &amp;quot;--action RT::Action::QChange --action-arg YOURQUEUE --template &#039;blank&#039;&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Create the file in a place where RT can call it (notice not to put it at a place that will be overwritten at an RT upgrade, ex /opt/rt4/lib/RT/Action/Qchange.pm&lt;br /&gt;
&lt;br /&gt;
This script was created by Andy Smith.&lt;br /&gt;
&lt;br /&gt;
==Code==&lt;br /&gt;
&lt;br /&gt;
# BEGIN BPS TAGGED BLOCK {{{&lt;br /&gt;
#&lt;br /&gt;
# COPYRIGHT:&lt;br /&gt;
#&lt;br /&gt;
# This software is Copyright (c) 1996-2015 Best Practical Solutions, LLC&lt;br /&gt;
#                                          &amp;lt;sales@bestpractical.com&amp;gt;&lt;br /&gt;
#&lt;br /&gt;
# (Except where explicitly superseded by other copyright notices)&lt;br /&gt;
#&lt;br /&gt;
#&lt;br /&gt;
# LICENSE:&lt;br /&gt;
#&lt;br /&gt;
# This work is made available to you under the terms of Version 2 of&lt;br /&gt;
# the GNU General Public License. A copy of that license should have&lt;br /&gt;
# been provided with this software, but in any event can be snarfed&lt;br /&gt;
# from www.gnu.org.&lt;br /&gt;
#&lt;br /&gt;
# This work is distributed in the hope that it will be useful, but&lt;br /&gt;
# WITHOUT ANY WARRANTY; without even the implied warranty of&lt;br /&gt;
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU&lt;br /&gt;
# General Public License for more details.&lt;br /&gt;
#&lt;br /&gt;
# You should have received a copy of the GNU General Public License&lt;br /&gt;
# along with this program; if not, write to the Free Software&lt;br /&gt;
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA&lt;br /&gt;
# 02110-1301 or visit their web page on the internet at&lt;br /&gt;
# http://www.gnu.org/licenses/old-licenses/gpl-2.0.html.&lt;br /&gt;
#&lt;br /&gt;
#&lt;br /&gt;
# CONTRIBUTION SUBMISSION POLICY:&lt;br /&gt;
#&lt;br /&gt;
# (The following paragraph is not intended to limit the rights granted&lt;br /&gt;
# to you to modify and distribute this software under the terms of&lt;br /&gt;
# the GNU General Public License and is only of importance to you if&lt;br /&gt;
# you choose to contribute your changes and enhancements to the&lt;br /&gt;
# community by submitting them to Best Practical Solutions, LLC.)&lt;br /&gt;
#&lt;br /&gt;
# By intentionally submitting any modifications, corrections or&lt;br /&gt;
# derivatives to this work, or any other work intended for use with&lt;br /&gt;
# Request Tracker, to Best Practical Solutions, LLC, you confirm that&lt;br /&gt;
# you are the copyright holder for those contributions and you grant&lt;br /&gt;
# Best Practical Solutions,  LLC a nonexclusive, worldwide, irrevocable,&lt;br /&gt;
# royalty-free, perpetual, license to use, copy, create derivative&lt;br /&gt;
# works based on those contributions, and sublicense and distribute&lt;br /&gt;
# those contributions and any derivatives thereof.&lt;br /&gt;
#&lt;br /&gt;
# END BPS TAGGED BLOCK }}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
package RT::Action::QChange;&lt;br /&gt;
&lt;br /&gt;
use strict;&lt;br /&gt;
use warnings;&lt;br /&gt;
&lt;br /&gt;
use base qw(RT::Action::Notify);&lt;br /&gt;
&lt;br /&gt;
use Email::Address;&lt;br /&gt;
&lt;br /&gt;
=head1 Notify Owner or AdminCc&lt;br /&gt;
&lt;br /&gt;
If the owner of this ticket is Nobody, notify the AdminCcs.  Otherwise, only notify the Owner.&lt;br /&gt;
&lt;br /&gt;
=cut&lt;br /&gt;
&lt;br /&gt;
sub Prepare {&lt;br /&gt;
  my $self = shift;&lt;br /&gt;
&lt;br /&gt;
  return 1;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
my $self;&lt;br /&gt;
&lt;br /&gt;
sub Commit {&lt;br /&gt;
&lt;br /&gt;
  my $self = shift;&lt;br /&gt;
&lt;br /&gt;
my $argument = $self-&amp;gt;Argument;&lt;br /&gt;
    unless ( $argument ) {&lt;br /&gt;
        $RT::Logger-&amp;gt;error(&amp;quot;Argument is mandatory for Test action&amp;quot;);&lt;br /&gt;
        return 0;&lt;br /&gt;
    }&lt;br /&gt;
&lt;br /&gt;
  my ($status, $msg) = $self-&amp;gt;TicketObj-&amp;gt;SetQueue(&amp;quot;$argument&amp;quot;);&lt;br /&gt;
  if ( not $status ) {&lt;br /&gt;
    RT::Logger-&amp;gt;error(&amp;quot;Could not reassign queue: $msg&amp;quot;);&lt;br /&gt;
    return 0;&lt;br /&gt;
    }&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
    RT::Base-&amp;gt;_ImportOverlays();&lt;br /&gt;
&lt;br /&gt;
    return 1;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
1;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Contribution]]&lt;/div&gt;</summary>
		<author><name>Jober</name></author>
	</entry>
	<entry>
		<id>https://rt-wiki.bestpractical.com/index.php?title=Extension_-_Queue_Change_On_Update&amp;diff=26419</id>
		<title>Extension - Queue Change On Update</title>
		<link rel="alternate" type="text/html" href="https://rt-wiki.bestpractical.com/index.php?title=Extension_-_Queue_Change_On_Update&amp;diff=26419"/>
		<updated>2016-10-27T19:51:06Z</updated>

		<summary type="html">&lt;p&gt;Jober: tested script&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Below the installer script for the RT plugin QueueChangeOnUpdate.&lt;br /&gt;
&lt;br /&gt;
This plugin adds a dropdown box to your ticket update page (comment/reply page) which will allow you to change the queue of a ticket along with adding a comment/reply.&lt;br /&gt;
&lt;br /&gt;
Note: This extension works for RT 4.4.1 on Ubuntu 14.04.3 LTS, tested 20161027.&lt;br /&gt;
&lt;br /&gt;
==Source==&lt;br /&gt;
This extension was originally posted on:&lt;br /&gt;
*http://pleh.info/wiki/rt/rt-extension-queuechangeonupdate&lt;br /&gt;
&lt;br /&gt;
==Link==&lt;br /&gt;
Link to the old .sh file&lt;br /&gt;
*http://www.gossamer-threads.com/lists/engine?do=post_attachment;postatt_id=4236;list=rt&lt;br /&gt;
&lt;br /&gt;
==Installation script==&lt;br /&gt;
Create this script on your RT instance (this was tested on Debian), running it will create the required files (everything it does is written in the script, no secrets there ^_~).&lt;br /&gt;
&lt;br /&gt;
This was inspirerd by the Custom Fields On Update extension by Ruslan and works verry well allong with it.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
;[http://pleh.info/_export/code/wiki/rt/rt-extension-queuechangeonupdate?codeblock=0 RT-Extension-QueueChangeOnUpdate.sh]&lt;br /&gt;
;&lt;br /&gt;
&amp;lt;code&amp;gt;#!/bin/bash&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;# ---&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;# This script installs the Request Tracker plugin RT::Extension::QueueChangeOnUpdate&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;# ---&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;# RT installation path&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;rt_dir=/opt/rt4&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;# Plugin directory paths&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;UpdateHTML_dir=local/plugins/RT-Extension-QueueChangeOnUpdate/html/Callbacks/QueueChangeOnUpdate/Ticket/Update.html&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;Extension_dir=local/plugins/RT-Extension-QueueChangeOnUpdate/lib/RT/Extension&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;lib_dir=local/plugins/RT-Extension-QueueChangeOnUpdate/lib&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;# ---&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;# Create the directories, this is based on an RT installation in /opt/rt4&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;# ---&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;mkdir -p $rt_dir/$UpdateHTML_dir&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;mkdir -p $rt_dir/$Extension_dir&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;# ---&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;# Create the AfterWorked file&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;# ---&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;echo &#039;&amp;lt;nowiki&amp;gt;&amp;lt;tr&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
	&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;&amp;lt;td class=&amp;quot;label&amp;quot;&amp;gt;&amp;lt;/nowiki&amp;gt;Queue:&amp;lt;nowiki&amp;gt;&amp;lt;/td&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
	&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;&amp;lt;td&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
		&amp;lt;code&amp;gt;&amp;lt;&amp;amp; /Elements/SelectQueue,&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
			&amp;lt;code&amp;gt;Name =&amp;gt; &amp;quot;Queue&amp;quot;,&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
			&amp;lt;code&amp;gt;Default =&amp;gt; $Ticket-&amp;gt;QueueObj-&amp;gt;Id,&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
			&amp;lt;code&amp;gt;InTable =&amp;gt; 1,&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
		&amp;lt;code&amp;gt;&amp;amp;&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
	&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;&amp;lt;/td&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;&amp;lt;/tr&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;%ARGS&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;$Ticket&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;/%ARGS&amp;gt;&#039; &amp;gt; $rt_dir/$UpdateHTML_dir/AfterWorked&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;# ---&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;# Create the perllocal.pod file&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;# ---&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;echo &#039;=head2 Mon Feb 13 09:52:24 2012: C&amp;lt;Module&amp;gt; L&amp;lt;RT::Extension::QueueChangeOnUpdate|RT::Extension::QueueChangeOnUpdate&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;=over 4&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;=item *&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;C&amp;lt;installed into: /opt/rt4/local/plugins/RT-Extension-QueueChangeOnUpdate/lib&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;=item *&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;C&amp;lt;LINKTYPE: dynamic&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;=item *&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;C&amp;lt;VERSION: 0.01&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;=item *&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;C&amp;lt;EXE_FILES: &amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;=back&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;=head2 Mon Feb 13 11:52:17 2012: C&amp;lt;Module&amp;gt; L&amp;lt;RT::Extension::QueueChangeOnUpdate|RT::Extension::QueueChangeOnUpdate&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;=over 4&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;=item *&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;C&amp;lt;installed into: /opt/rt4/local/plugins/RT-Extension-QueueChangeOnUpdate/lib&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;=item *&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;C&amp;lt;LINKTYPE: dynamic&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;=item *&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;C&amp;lt;VERSION: 0.01&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;=item *&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;C&amp;lt;EXE_FILES: &amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;=back&#039; &amp;gt; $rt_dir/$lib_dir/perllocal.pod&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;# ---&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;# Create the QueueChangeOnUpdate.pm file&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;# ---&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;echo &amp;quot;use 5.008003;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;use strict;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;use warnings;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;package RT::Extension::QueueChangeOnUpdate;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;our \$VERSION = &#039;0.01&#039;;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;=head1 NAME&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;RT::Extension::QueueChangeOnUpdate - edit ticket&#039;s Queue on reply/comment&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;=head1 DESCRIPTION&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;This extension adds often requested feature - update of ticket&#039;s Queue on&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;reply and comment.&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;This is for RT 4.0.x.&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;=head1 INSTALLATION&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;To install run the script, it&#039;ll create all the files and directories.&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;Register &#039;RT::Extension::QueueChangeOnUpdate&#039; in the site config;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
    &amp;lt;code&amp;gt;Set(@Plugins, qw(&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
        &amp;lt;code&amp;gt;RT::Extension::QueueChangeOnUpdate&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
        &amp;lt;code&amp;gt;... other plugins you may have ...&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
    &amp;lt;code&amp;gt;));&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;If you&#039;re also using RT::Extension::CustomFieldsOnUpdate then make sure&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;you include the QueueChangeOnUpdate plugin before the CustomFieldsOnUpdate.&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
    &amp;lt;code&amp;gt;Set(@Plugins, qw(&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
        &amp;lt;code&amp;gt;RT::Extension::QueueChangeOnUpdate&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
        &amp;lt;code&amp;gt;RT::Extension::CustomFieldsOnUpdate&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
        &amp;lt;code&amp;gt;... other plugins you may have ...&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
    &amp;lt;code&amp;gt;));&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;=cut&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;=head1 AUTHOR&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;Bart E&amp;lt;lt&amp;gt;bart@pleh.infoE&amp;lt;gt&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;=head1 LICENSE&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;Under the same terms as perl itself.&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;=cut&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;1;&amp;quot; &amp;gt; $rt_dir/$Extension_dir/QueueChangeOnUpdate.pm&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 Add the option to change the queue during a comment or reply&lt;br /&gt;
[[Category:Contribution]]&lt;/div&gt;</summary>
		<author><name>Jober</name></author>
	</entry>
	<entry>
		<id>https://rt-wiki.bestpractical.com/index.php?title=Extension_-_Queue_Change_On_Update&amp;diff=26418</id>
		<title>Extension - Queue Change On Update</title>
		<link rel="alternate" type="text/html" href="https://rt-wiki.bestpractical.com/index.php?title=Extension_-_Queue_Change_On_Update&amp;diff=26418"/>
		<updated>2016-10-27T15:02:25Z</updated>

		<summary type="html">&lt;p&gt;Jober: /* Installation script */ Fixed .sh preview&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Below the installer script for the RT plugin QueueChangeOnUpdate.&lt;br /&gt;
&lt;br /&gt;
This plugin adds a dropdown box to your ticket update page (comment/reply page) which will allow you to change the queue of a ticket along with adding a comment/reply.&lt;br /&gt;
&lt;br /&gt;
This extension still works for RT 4.2.*&lt;br /&gt;
==Source==&lt;br /&gt;
This extension was originally posted on:&lt;br /&gt;
*http://pleh.info/wiki/rt/rt-extension-queuechangeonupdate&lt;br /&gt;
&lt;br /&gt;
==Link==&lt;br /&gt;
Link to the old .sh file&lt;br /&gt;
*http://www.gossamer-threads.com/lists/engine?do=post_attachment;postatt_id=4236;list=rt&lt;br /&gt;
&lt;br /&gt;
==Installation script==&lt;br /&gt;
Create this script on your RT instance (this was tested on Debian), running it will create the required files (everything it does is written in the script, no secrets there ^_~).&lt;br /&gt;
&lt;br /&gt;
This was inspirerd by the Custom Fields On Update extension by Ruslan and works verry well allong with it.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
;[http://pleh.info/_export/code/wiki/rt/rt-extension-queuechangeonupdate?codeblock=0 RT-Extension-QueueChangeOnUpdate.sh]&lt;br /&gt;
;&lt;br /&gt;
&amp;lt;code&amp;gt;#!/bin/bash&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;# ---&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;# This script installs the Request Tracker plugin RT::Extension::QueueChangeOnUpdate&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;# ---&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;# RT installation path&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;rt_dir=/opt/rt4&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;# Plugin directory paths&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;UpdateHTML_dir=local/plugins/RT-Extension-QueueChangeOnUpdate/html/Callbacks/QueueChangeOnUpdate/Ticket/Update.html&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;Extension_dir=local/plugins/RT-Extension-QueueChangeOnUpdate/lib/RT/Extension&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;lib_dir=local/plugins/RT-Extension-QueueChangeOnUpdate/lib&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;# ---&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;# Create the directories, this is based on an RT installation in /opt/rt4&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;# ---&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;mkdir -p $rt_dir/$UpdateHTML_dir&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;mkdir -p $rt_dir/$Extension_dir&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;# ---&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;# Create the AfterWorked file&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;# ---&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;echo &#039;&amp;lt;nowiki&amp;gt;&amp;lt;tr&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
	&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;&amp;lt;td class=&amp;quot;label&amp;quot;&amp;gt;&amp;lt;/nowiki&amp;gt;Queue:&amp;lt;nowiki&amp;gt;&amp;lt;/td&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
	&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;&amp;lt;td&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
		&amp;lt;code&amp;gt;&amp;lt;&amp;amp; /Elements/SelectQueue,&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
			&amp;lt;code&amp;gt;Name =&amp;gt; &amp;quot;Queue&amp;quot;,&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
			&amp;lt;code&amp;gt;Default =&amp;gt; $Ticket-&amp;gt;QueueObj-&amp;gt;Id,&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
			&amp;lt;code&amp;gt;InTable =&amp;gt; 1,&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
		&amp;lt;code&amp;gt;&amp;amp;&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
	&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;&amp;lt;/td&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;&amp;lt;/tr&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;%ARGS&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;$Ticket&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;/%ARGS&amp;gt;&#039; &amp;gt; $rt_dir/$UpdateHTML_dir/AfterWorked&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;# ---&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;# Create the perllocal.pod file&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;# ---&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;echo &#039;=head2 Mon Feb 13 09:52:24 2012: C&amp;lt;Module&amp;gt; L&amp;lt;RT::Extension::QueueChangeOnUpdate|RT::Extension::QueueChangeOnUpdate&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;=over 4&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;=item *&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;C&amp;lt;installed into: /opt/rt4/local/plugins/RT-Extension-QueueChangeOnUpdate/lib&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;=item *&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;C&amp;lt;LINKTYPE: dynamic&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;=item *&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;C&amp;lt;VERSION: 0.01&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;=item *&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;C&amp;lt;EXE_FILES: &amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;=back&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;=head2 Mon Feb 13 11:52:17 2012: C&amp;lt;Module&amp;gt; L&amp;lt;RT::Extension::QueueChangeOnUpdate|RT::Extension::QueueChangeOnUpdate&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;=over 4&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;=item *&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;C&amp;lt;installed into: /opt/rt4/local/plugins/RT-Extension-QueueChangeOnUpdate/lib&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;=item *&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;C&amp;lt;LINKTYPE: dynamic&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;=item *&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;C&amp;lt;VERSION: 0.01&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;=item *&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;C&amp;lt;EXE_FILES: &amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;=back&#039; &amp;gt; $rt_dir/$lib_dir/perllocal.pod&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;# ---&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;# Create the QueueChangeOnUpdate.pm file&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;# ---&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;echo &amp;quot;use 5.008003;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;use strict;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;use warnings;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;package RT::Extension::QueueChangeOnUpdate;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;our \$VERSION = &#039;0.01&#039;;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;=head1 NAME&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;RT::Extension::QueueChangeOnUpdate - edit ticket&#039;s Queue on reply/comment&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;=head1 DESCRIPTION&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;This extension adds often requested feature - update of ticket&#039;s Queue on&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;reply and comment.&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;This is for RT 4.0.x.&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;=head1 INSTALLATION&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;To install run the script, it&#039;ll create all the files and directories.&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;Register &#039;RT::Extension::QueueChangeOnUpdate&#039; in the site config;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
    &amp;lt;code&amp;gt;Set(@Plugins, qw(&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
        &amp;lt;code&amp;gt;RT::Extension::QueueChangeOnUpdate&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
        &amp;lt;code&amp;gt;... other plugins you may have ...&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
    &amp;lt;code&amp;gt;));&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;If you&#039;re also using RT::Extension::CustomFieldsOnUpdate then make sure&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;you include the QueueChangeOnUpdate plugin before the CustomFieldsOnUpdate.&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
    &amp;lt;code&amp;gt;Set(@Plugins, qw(&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
        &amp;lt;code&amp;gt;RT::Extension::QueueChangeOnUpdate&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
        &amp;lt;code&amp;gt;RT::Extension::CustomFieldsOnUpdate&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
        &amp;lt;code&amp;gt;... other plugins you may have ...&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
    &amp;lt;code&amp;gt;));&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;=cut&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;=head1 AUTHOR&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;Bart E&amp;lt;lt&amp;gt;bart@pleh.infoE&amp;lt;gt&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;=head1 LICENSE&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;Under the same terms as perl itself.&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;=cut&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;1;&amp;quot; &amp;gt; $rt_dir/$Extension_dir/QueueChangeOnUpdate.pm&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 Add the option to change the queue during a comment or reply&lt;br /&gt;
[[Category:Contribution]]&lt;/div&gt;</summary>
		<author><name>Jober</name></author>
	</entry>
	<entry>
		<id>https://rt-wiki.bestpractical.com/index.php?title=Extension_-_Queue_Change_On_Update&amp;diff=26417</id>
		<title>Extension - Queue Change On Update</title>
		<link rel="alternate" type="text/html" href="https://rt-wiki.bestpractical.com/index.php?title=Extension_-_Queue_Change_On_Update&amp;diff=26417"/>
		<updated>2016-10-27T15:00:51Z</updated>

		<summary type="html">&lt;p&gt;Jober: /* Installation script */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Below the installer script for the RT plugin QueueChangeOnUpdate.&lt;br /&gt;
&lt;br /&gt;
This plugin adds a dropdown box to your ticket update page (comment/reply page) which will allow you to change the queue of a ticket along with adding a comment/reply.&lt;br /&gt;
&lt;br /&gt;
This extension still works for RT 4.2.*&lt;br /&gt;
==Source==&lt;br /&gt;
This extension was originally posted on:&lt;br /&gt;
*http://pleh.info/wiki/rt/rt-extension-queuechangeonupdate&lt;br /&gt;
&lt;br /&gt;
==Link==&lt;br /&gt;
Link to the old .sh file&lt;br /&gt;
*http://www.gossamer-threads.com/lists/engine?do=post_attachment;postatt_id=4236;list=rt&lt;br /&gt;
&lt;br /&gt;
==Installation script==&lt;br /&gt;
Create this script on your RT instance (this was tested on Debian), running it will create the required files (everything it does is written in the script, no secrets there ^_~).&lt;br /&gt;
&lt;br /&gt;
This was inspirerd by the Custom Fields On Update extension by Ruslan and works verry well allong with it.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
;[http://pleh.info/_export/code/wiki/rt/rt-extension-queuechangeonupdate?codeblock=0 RT-Extension-QueueChangeOnUpdate.sh]&lt;br /&gt;
;&lt;br /&gt;
&amp;lt;code&amp;gt;  &lt;br /&gt;
#!/bin/bash&lt;br /&gt;
&lt;br /&gt;
# ---&lt;br /&gt;
# This script installs the Request Tracker plugin RT::Extension::QueueChangeOnUpdate&lt;br /&gt;
# ---&lt;br /&gt;
&lt;br /&gt;
# RT installation path&lt;br /&gt;
rt_dir=/opt/rt4&lt;br /&gt;
&lt;br /&gt;
# Plugin directory paths&lt;br /&gt;
UpdateHTML_dir=local/plugins/RT-Extension-QueueChangeOnUpdate/html/Callbacks/QueueChangeOnUpdate/Ticket/Update.html&lt;br /&gt;
Extension_dir=local/plugins/RT-Extension-QueueChangeOnUpdate/lib/RT/Extension&lt;br /&gt;
lib_dir=local/plugins/RT-Extension-QueueChangeOnUpdate/lib&lt;br /&gt;
&lt;br /&gt;
# ---&lt;br /&gt;
# Create the directories, this is based on an RT installation in /opt/rt4&lt;br /&gt;
# ---&lt;br /&gt;
&lt;br /&gt;
mkdir -p $rt_dir/$UpdateHTML_dir&lt;br /&gt;
mkdir -p $rt_dir/$Extension_dir&lt;br /&gt;
&lt;br /&gt;
# ---&lt;br /&gt;
# Create the AfterWorked file&lt;br /&gt;
# ---&lt;br /&gt;
&lt;br /&gt;
echo &#039;&amp;lt;tr&amp;gt;&lt;br /&gt;
	&amp;lt;td class=&amp;quot;label&amp;quot;&amp;gt;Queue:&amp;lt;/td&amp;gt;&lt;br /&gt;
	&amp;lt;td&amp;gt;&lt;br /&gt;
		&amp;lt;&amp;amp; /Elements/SelectQueue,&lt;br /&gt;
			Name =&amp;gt; &amp;quot;Queue&amp;quot;,&lt;br /&gt;
			Default =&amp;gt; $Ticket-&amp;gt;QueueObj-&amp;gt;Id,&lt;br /&gt;
			InTable =&amp;gt; 1,&lt;br /&gt;
		&amp;amp;&amp;gt;&lt;br /&gt;
	&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;%ARGS&amp;gt;&lt;br /&gt;
$Ticket&lt;br /&gt;
&amp;lt;/%ARGS&amp;gt;&#039; &amp;gt; $rt_dir/$UpdateHTML_dir/AfterWorked&lt;br /&gt;
&lt;br /&gt;
# ---&lt;br /&gt;
# Create the perllocal.pod file&lt;br /&gt;
# ---&lt;br /&gt;
&lt;br /&gt;
echo &#039;=head2 Mon Feb 13 09:52:24 2012: C&amp;lt;Module&amp;gt; L&amp;lt;RT::Extension::QueueChangeOnUpdate|RT::Extension::QueueChangeOnUpdate&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=over 4&lt;br /&gt;
&lt;br /&gt;
=item *&lt;br /&gt;
&lt;br /&gt;
C&amp;lt;installed into: /opt/rt4/local/plugins/RT-Extension-QueueChangeOnUpdate/lib&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=item *&lt;br /&gt;
&lt;br /&gt;
C&amp;lt;LINKTYPE: dynamic&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=item *&lt;br /&gt;
&lt;br /&gt;
C&amp;lt;VERSION: 0.01&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=item *&lt;br /&gt;
&lt;br /&gt;
C&amp;lt;EXE_FILES: &amp;gt;&lt;br /&gt;
&lt;br /&gt;
=back&lt;br /&gt;
&lt;br /&gt;
=head2 Mon Feb 13 11:52:17 2012: C&amp;lt;Module&amp;gt; L&amp;lt;RT::Extension::QueueChangeOnUpdate|RT::Extension::QueueChangeOnUpdate&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=over 4&lt;br /&gt;
&lt;br /&gt;
=item *&lt;br /&gt;
&lt;br /&gt;
C&amp;lt;installed into: /opt/rt4/local/plugins/RT-Extension-QueueChangeOnUpdate/lib&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=item *&lt;br /&gt;
&lt;br /&gt;
C&amp;lt;LINKTYPE: dynamic&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=item *&lt;br /&gt;
&lt;br /&gt;
C&amp;lt;VERSION: 0.01&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=item *&lt;br /&gt;
&lt;br /&gt;
C&amp;lt;EXE_FILES: &amp;gt;&lt;br /&gt;
&lt;br /&gt;
=back&#039; &amp;gt; $rt_dir/$lib_dir/perllocal.pod&lt;br /&gt;
&lt;br /&gt;
# ---&lt;br /&gt;
# Create the QueueChangeOnUpdate.pm file&lt;br /&gt;
# ---&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;use 5.008003;&lt;br /&gt;
use strict;&lt;br /&gt;
use warnings;&lt;br /&gt;
&lt;br /&gt;
package RT::Extension::QueueChangeOnUpdate;&lt;br /&gt;
&lt;br /&gt;
our \$VERSION = &#039;0.01&#039;;&lt;br /&gt;
&lt;br /&gt;
=head1 NAME&lt;br /&gt;
&lt;br /&gt;
RT::Extension::QueueChangeOnUpdate - edit ticket&#039;s Queue on reply/comment&lt;br /&gt;
&lt;br /&gt;
=head1 DESCRIPTION&lt;br /&gt;
&lt;br /&gt;
This extension adds often requested feature - update of ticket&#039;s Queue on&lt;br /&gt;
reply and comment.&lt;br /&gt;
&lt;br /&gt;
This is for RT 4.0.x.&lt;br /&gt;
&lt;br /&gt;
=head1 INSTALLATION&lt;br /&gt;
&lt;br /&gt;
To install run the script, it&#039;ll create all the files and directories.&lt;br /&gt;
&lt;br /&gt;
Register &#039;RT::Extension::QueueChangeOnUpdate&#039; in the site config;&lt;br /&gt;
&lt;br /&gt;
    Set(@Plugins, qw(&lt;br /&gt;
        RT::Extension::QueueChangeOnUpdate&lt;br /&gt;
        ... other plugins you may have ...&lt;br /&gt;
    ));&lt;br /&gt;
&lt;br /&gt;
If you&#039;re also using RT::Extension::CustomFieldsOnUpdate then make sure&lt;br /&gt;
you include the QueueChangeOnUpdate plugin before the CustomFieldsOnUpdate.&lt;br /&gt;
&lt;br /&gt;
    Set(@Plugins, qw(&lt;br /&gt;
        RT::Extension::QueueChangeOnUpdate&lt;br /&gt;
        RT::Extension::CustomFieldsOnUpdate&lt;br /&gt;
        ... other plugins you may have ...&lt;br /&gt;
    ));&lt;br /&gt;
&lt;br /&gt;
=cut&lt;br /&gt;
&lt;br /&gt;
=head1 AUTHOR&lt;br /&gt;
&lt;br /&gt;
Bart E&amp;lt;lt&amp;gt;bart@pleh.infoE&amp;lt;gt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=head1 LICENSE&lt;br /&gt;
&lt;br /&gt;
Under the same terms as perl itself.&lt;br /&gt;
&lt;br /&gt;
=cut&lt;br /&gt;
&lt;br /&gt;
1;&amp;quot; &amp;gt; $rt_dir/$Extension_dir/QueueChangeOnUpdate.pm&amp;lt;/rt&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
 Add the option to change the queue during a comment or reply&lt;br /&gt;
[[Category:Contribution]]&lt;/div&gt;</summary>
		<author><name>Jober</name></author>
	</entry>
	<entry>
		<id>https://rt-wiki.bestpractical.com/index.php?title=Extension_-_Queue_Change_On_Update&amp;diff=26416</id>
		<title>Extension - Queue Change On Update</title>
		<link rel="alternate" type="text/html" href="https://rt-wiki.bestpractical.com/index.php?title=Extension_-_Queue_Change_On_Update&amp;diff=26416"/>
		<updated>2016-10-27T14:58:29Z</updated>

		<summary type="html">&lt;p&gt;Jober: Added link since old is broken&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Below the installer script for the RT plugin QueueChangeOnUpdate.&lt;br /&gt;
&lt;br /&gt;
This plugin adds a dropdown box to your ticket update page (comment/reply page) which will allow you to change the queue of a ticket along with adding a comment/reply.&lt;br /&gt;
&lt;br /&gt;
This extension still works for RT 4.2.*&lt;br /&gt;
==Source==&lt;br /&gt;
This extension was originally posted on:&lt;br /&gt;
*http://pleh.info/wiki/rt/rt-extension-queuechangeonupdate&lt;br /&gt;
&lt;br /&gt;
==Link==&lt;br /&gt;
Link to the old .sh file&lt;br /&gt;
*http://www.gossamer-threads.com/lists/engine?do=post_attachment;postatt_id=4236;list=rt&lt;br /&gt;
&lt;br /&gt;
==Installation script==&lt;br /&gt;
Create this script on your RT instance (this was tested on Debian), running it will create the required files (everything it does is written in the script, no secrets there ^_~).&lt;br /&gt;
&lt;br /&gt;
This was inspirerd by the Custom Fields On Update extension by Ruslan and works verry well allong with it.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
;[http://pleh.info/_export/code/wiki/rt/rt-extension-queuechangeonupdate?codeblock=0 RT-Extension-QueueChangeOnUpdate.sh]&lt;br /&gt;
;&lt;br /&gt;
  &lt;br /&gt;
 #!/bin/bash&lt;br /&gt;
 &lt;br /&gt;
 # ---&lt;br /&gt;
 # This script installs the Request Tracker plugin RT::Extension::QueueChangeOnUpdate&lt;br /&gt;
 # ---&lt;br /&gt;
  &lt;br /&gt;
 # RT installation path&lt;br /&gt;
 rt_dir=/opt/rt4&lt;br /&gt;
  &lt;br /&gt;
 # Plugin directory paths&lt;br /&gt;
 UpdateHTML_dir=local/plugins/RT-Extension-QueueChangeOnUpdate/html/Callbacks/QueueChangeOnUpdate/Ticket/Update.html&lt;br /&gt;
 Extension_dir=local/plugins/RT-Extension-QueueChangeOnUpdate/lib/RT/Extension&lt;br /&gt;
 lib_dir=local/plugins/RT-Extension-QueueChangeOnUpdate/lib&lt;br /&gt;
  &lt;br /&gt;
 # ---&lt;br /&gt;
 # Create the directories, this is based on an RT installation in /opt/rt4&lt;br /&gt;
 # ---&lt;br /&gt;
  &lt;br /&gt;
 mkdir -p $rt_dir/$UpdateHTML_dir&lt;br /&gt;
 mkdir -p $rt_dir/$Extension_dir&lt;br /&gt;
  &lt;br /&gt;
 # ---&lt;br /&gt;
 # Create the AfterWorked file&lt;br /&gt;
 # ---&lt;br /&gt;
  &lt;br /&gt;
 echo &#039;&amp;lt;tr&amp;gt;&lt;br /&gt;
 	&amp;lt;td class=&amp;quot;label&amp;quot;&amp;gt;Queue:&amp;lt;/td&amp;gt;&lt;br /&gt;
 	&amp;lt;td&amp;gt;&lt;br /&gt;
 		&amp;lt;&amp;amp; /Elements/SelectQueue,&lt;br /&gt;
 			Name =&amp;gt; &amp;quot;Queue&amp;quot;,&lt;br /&gt;
 			Default =&amp;gt; $Ticket-&amp;gt;QueueObj-&amp;gt;Id,&lt;br /&gt;
 			InTable =&amp;gt; 1,&lt;br /&gt;
 		&amp;amp;&amp;gt;&lt;br /&gt;
 	&amp;lt;/td&amp;gt;&lt;br /&gt;
 &amp;lt;/tr&amp;gt;&lt;br /&gt;
 &amp;lt;%ARGS&amp;gt;&lt;br /&gt;
 $Ticket&lt;br /&gt;
 &amp;lt;/%ARGS&amp;gt;&#039; &amp;gt; $rt_dir/$UpdateHTML_dir/AfterWorked&lt;br /&gt;
  &lt;br /&gt;
 # ---&lt;br /&gt;
 # Create the perllocal.pod file&lt;br /&gt;
 # ---&lt;br /&gt;
  &lt;br /&gt;
 echo &#039;=head2 Mon Feb 13 09:52:24 2012: C&amp;lt;Module&amp;gt; L&amp;lt;rt::Extension::QueueChangeOnUpdate|RT::Extension::QueueChangeOnUpdate&amp;gt;&lt;br /&gt;
  &lt;br /&gt;
 =over 4&lt;br /&gt;
  &lt;br /&gt;
 =item *&lt;br /&gt;
  &lt;br /&gt;
 C&amp;lt;installed into: /opt/rt4/local/plugins/RT-Extension-QueueChangeOnUpdate/lib&amp;gt;&lt;br /&gt;
  &lt;br /&gt;
 =item *&lt;br /&gt;
  &lt;br /&gt;
 C&amp;lt;LINKTYPE: dynamic&amp;gt;&lt;br /&gt;
  &lt;br /&gt;
 =item *&lt;br /&gt;
  &lt;br /&gt;
 C&amp;lt;VERSION: 0.01&amp;gt;&lt;br /&gt;
  &lt;br /&gt;
 =item *&lt;br /&gt;
  &lt;br /&gt;
 C&amp;lt;EXE_FILES: &amp;gt;&lt;br /&gt;
  &lt;br /&gt;
 =back&lt;br /&gt;
  &lt;br /&gt;
 =head2 Mon Feb 13 11:52:17 2012: C&amp;lt;Module&amp;gt; L&amp;lt;RT::Extension::QueueChangeOnUpdate|RT::Extension::QueueChangeOnUpdate&amp;gt;&lt;br /&gt;
  &lt;br /&gt;
 =over 4&lt;br /&gt;
  &lt;br /&gt;
 =item *&lt;br /&gt;
  &lt;br /&gt;
 C&amp;lt;installed into: /opt/rt4/local/plugins/RT-Extension-QueueChangeOnUpdate/lib&amp;gt;&lt;br /&gt;
  &lt;br /&gt;
 =item *&lt;br /&gt;
  &lt;br /&gt;
 C&amp;lt;LINKTYPE: dynamic&amp;gt;&lt;br /&gt;
  &lt;br /&gt;
 =item *&lt;br /&gt;
  &lt;br /&gt;
 C&amp;lt;VERSION: 0.01&amp;gt;&lt;br /&gt;
  &lt;br /&gt;
 =item *&lt;br /&gt;
  &lt;br /&gt;
 C&amp;lt;EXE_FILES: &amp;gt;&lt;br /&gt;
  &lt;br /&gt;
 =back&#039; &amp;gt; $rt_dir/$lib_dir/perllocal.pod&lt;br /&gt;
  &lt;br /&gt;
 # ---&lt;br /&gt;
 # Create the QueueChangeOnUpdate.pm file&lt;br /&gt;
 # ---&lt;br /&gt;
  &lt;br /&gt;
 echo &amp;quot;use 5.008003;&lt;br /&gt;
 use strict;&lt;br /&gt;
 use warnings;&lt;br /&gt;
  &lt;br /&gt;
 package RT::Extension::QueueChangeOnUpdate;&lt;br /&gt;
  &lt;br /&gt;
 our \$VERSION = &#039;0.01&#039;;&lt;br /&gt;
  &lt;br /&gt;
 =head1 NAME&lt;br /&gt;
  &lt;br /&gt;
 RT::Extension::QueueChangeOnUpdate - edit ticket&#039;s Queue on reply/comment&lt;br /&gt;
  &lt;br /&gt;
 =head1 DESCRIPTION&lt;br /&gt;
  &lt;br /&gt;
 This extension adds often requested feature - update of ticket&#039;s Queue on&lt;br /&gt;
 reply and comment.&lt;br /&gt;
  &lt;br /&gt;
 This is for RT 4.0.x.&lt;br /&gt;
  &lt;br /&gt;
 =head1 INSTALLATION&lt;br /&gt;
  &lt;br /&gt;
 To install run the script, it&#039;ll create all the files and directories.&lt;br /&gt;
  &lt;br /&gt;
 Register &#039;RT::Extension::QueueChangeOnUpdate&#039; in the site config;&lt;br /&gt;
  &lt;br /&gt;
     Set(@Plugins, qw(&lt;br /&gt;
         RT::Extension::QueueChangeOnUpdate&lt;br /&gt;
         ... other plugins you may have ...&lt;br /&gt;
     ));&lt;br /&gt;
  &lt;br /&gt;
 If you&#039;re also using RT::Extension::CustomFieldsOnUpdate then make sure&lt;br /&gt;
 you include the QueueChangeOnUpdate plugin before the CustomFieldsOnUpdate.&lt;br /&gt;
  &lt;br /&gt;
     Set(@Plugins, qw(&lt;br /&gt;
         RT::Extension::QueueChangeOnUpdate&lt;br /&gt;
         RT::Extension::CustomFieldsOnUpdate&lt;br /&gt;
         ... other plugins you may have ...&lt;br /&gt;
     ));&lt;br /&gt;
  &lt;br /&gt;
 =cut&lt;br /&gt;
  &lt;br /&gt;
 =head1 AUTHOR&lt;br /&gt;
  &lt;br /&gt;
 Bart E&amp;lt;lt&amp;gt;bart@pleh.infoE&amp;lt;gt&amp;gt;&lt;br /&gt;
  &lt;br /&gt;
 =head1 LICENSE&lt;br /&gt;
  &lt;br /&gt;
 Under the same terms as perl itself.&lt;br /&gt;
  &lt;br /&gt;
 =cut&lt;br /&gt;
  &lt;br /&gt;
 1;&amp;quot; &amp;gt; $rt_dir/$Extension_dir/QueueChangeOnUpdate.pm&amp;lt;/rt&amp;gt;&lt;br /&gt;
 Add the option to change the queue during a comment or reply&lt;br /&gt;
[[Category:Contribution]]&lt;/div&gt;</summary>
		<author><name>Jober</name></author>
	</entry>
</feed>