https://rt-wiki.bestpractical.com/index.php?title=Extension_-_Queue_Change_On_Update&feed=atom&action=history
Extension - Queue Change On Update - Revision history
2024-03-28T18:34:26Z
Revision history for this page on the wiki
MediaWiki 1.37.2
https://rt-wiki.bestpractical.com/index.php?title=Extension_-_Queue_Change_On_Update&diff=26419&oldid=prev
Jober: tested script
2016-10-27T19:51:06Z
<p>tested script</p>
<table style="background-color: #fff; color: #202122;" data-mw="interface">
<col class="diff-marker" />
<col class="diff-content" />
<col class="diff-marker" />
<col class="diff-content" />
<tr class="diff-title" lang="en">
<td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">← Older revision</td>
<td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">Revision as of 15:51, 27 October 2016</td>
</tr><tr><td colspan="2" class="diff-lineno" id="mw-diff-left-l3">Line 3:</td>
<td colspan="2" class="diff-lineno">Line 3:</td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>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.</div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>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.</div></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br/></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br/></td></tr>
<tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>This extension <del style="font-weight: bold; text-decoration: none;">still </del>works for RT 4.<del style="font-weight: bold; text-decoration: none;">2</del>.<del style="font-weight: bold; text-decoration: none;">*</del></div></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;">Note: </ins>This extension works for RT 4.<ins style="font-weight: bold; text-decoration: none;">4.1 on Ubuntu 14.04.3 LTS, tested 20161027</ins>.</div></td></tr>
<tr><td colspan="2" class="diff-side-deleted"></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div> </div></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>==Source==</div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>==Source==</div></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>This extension was originally posted on:</div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>This extension was originally posted on:</div></td></tr>
<!-- diff cache key bestpractical_mediawiki1459887241:diff::1.12:old-26418:rev-26419 -->
</table>
Jober
https://rt-wiki.bestpractical.com/index.php?title=Extension_-_Queue_Change_On_Update&diff=26418&oldid=prev
Jober: /* Installation script */ Fixed .sh preview
2016-10-27T15:02:25Z
<p><span dir="auto"><span class="autocomment">Installation script: </span> Fixed .sh preview</span></p>
<a href="https://rt-wiki.bestpractical.com/index.php?title=Extension_-_Queue_Change_On_Update&diff=26418&oldid=26417">Show changes</a>
Jober
https://rt-wiki.bestpractical.com/index.php?title=Extension_-_Queue_Change_On_Update&diff=26417&oldid=prev
Jober: /* Installation script */
2016-10-27T15:00:51Z
<p><span dir="auto"><span class="autocomment">Installation script</span></span></p>
<a href="https://rt-wiki.bestpractical.com/index.php?title=Extension_-_Queue_Change_On_Update&diff=26417&oldid=26416">Show changes</a>
Jober
https://rt-wiki.bestpractical.com/index.php?title=Extension_-_Queue_Change_On_Update&diff=26416&oldid=prev
Jober: Added link since old is broken
2016-10-27T14:58:29Z
<p>Added link since old is broken</p>
<table style="background-color: #fff; color: #202122;" data-mw="interface">
<col class="diff-marker" />
<col class="diff-content" />
<col class="diff-marker" />
<col class="diff-content" />
<tr class="diff-title" lang="en">
<td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">← Older revision</td>
<td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">Revision as of 10:58, 27 October 2016</td>
</tr><tr><td colspan="2" class="diff-lineno" id="mw-diff-left-l7">Line 7:</td>
<td colspan="2" class="diff-lineno">Line 7:</td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>This extension was originally posted on:</div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>This extension was originally posted on:</div></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>*http://pleh.info/wiki/rt/rt-extension-queuechangeonupdate</div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>*http://pleh.info/wiki/rt/rt-extension-queuechangeonupdate</div></td></tr>
<tr><td colspan="2" class="diff-side-deleted"></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;"></ins></div></td></tr>
<tr><td colspan="2" class="diff-side-deleted"></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;">==Link==</ins></div></td></tr>
<tr><td colspan="2" class="diff-side-deleted"></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;">Link to the old .sh file</ins></div></td></tr>
<tr><td colspan="2" class="diff-side-deleted"></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;">*http://www.gossamer-threads.com/lists/engine?do=post_attachment;postatt_id=4236;list=rt</ins></div></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br/></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br/></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>==Installation script==</div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>==Installation script==</div></td></tr>
<!-- diff cache key bestpractical_mediawiki1459887241:diff::1.12:old-1132:rev-26416 -->
</table>
Jober
https://rt-wiki.bestpractical.com/index.php?title=Extension_-_Queue_Change_On_Update&diff=1132&oldid=prev
Admin: 4 revisions imported
2016-04-06T20:08:54Z
<p>4 revisions imported</p>
<p><b>New page</b></p><div>Below the installer script for the RT plugin QueueChangeOnUpdate.<br />
<br />
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.<br />
<br />
This extension still works for RT 4.2.*<br />
==Source==<br />
This extension was originally posted on:<br />
*http://pleh.info/wiki/rt/rt-extension-queuechangeonupdate<br />
<br />
==Installation script==<br />
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 ^_~).<br />
<br />
This was inspirerd by the Custom Fields On Update extension by Ruslan and works verry well allong with it.<br />
<br />
<br />
;[http://pleh.info/_export/code/wiki/rt/rt-extension-queuechangeonupdate?codeblock=0 RT-Extension-QueueChangeOnUpdate.sh]<br />
;<br />
<br />
#!/bin/bash<br />
<br />
# ---<br />
# This script installs the Request Tracker plugin RT::Extension::QueueChangeOnUpdate<br />
# ---<br />
<br />
# RT installation path<br />
rt_dir=/opt/rt4<br />
<br />
# Plugin directory paths<br />
UpdateHTML_dir=local/plugins/RT-Extension-QueueChangeOnUpdate/html/Callbacks/QueueChangeOnUpdate/Ticket/Update.html<br />
Extension_dir=local/plugins/RT-Extension-QueueChangeOnUpdate/lib/RT/Extension<br />
lib_dir=local/plugins/RT-Extension-QueueChangeOnUpdate/lib<br />
<br />
# ---<br />
# Create the directories, this is based on an RT installation in /opt/rt4<br />
# ---<br />
<br />
mkdir -p $rt_dir/$UpdateHTML_dir<br />
mkdir -p $rt_dir/$Extension_dir<br />
<br />
# ---<br />
# Create the AfterWorked file<br />
# ---<br />
<br />
echo '<tr><br />
<td class="label">Queue:</td><br />
<td><br />
<& /Elements/SelectQueue,<br />
Name => "Queue",<br />
Default => $Ticket->QueueObj->Id,<br />
InTable => 1,<br />
&><br />
</td><br />
</tr><br />
<%ARGS><br />
$Ticket<br />
</%ARGS>' > $rt_dir/$UpdateHTML_dir/AfterWorked<br />
<br />
# ---<br />
# Create the perllocal.pod file<br />
# ---<br />
<br />
echo '=head2 Mon Feb 13 09:52:24 2012: C<Module> L<rt::Extension::QueueChangeOnUpdate|RT::Extension::QueueChangeOnUpdate><br />
<br />
=over 4<br />
<br />
=item *<br />
<br />
C<installed into: /opt/rt4/local/plugins/RT-Extension-QueueChangeOnUpdate/lib><br />
<br />
=item *<br />
<br />
C<LINKTYPE: dynamic><br />
<br />
=item *<br />
<br />
C<VERSION: 0.01><br />
<br />
=item *<br />
<br />
C<EXE_FILES: ><br />
<br />
=back<br />
<br />
=head2 Mon Feb 13 11:52:17 2012: C<Module> L<RT::Extension::QueueChangeOnUpdate|RT::Extension::QueueChangeOnUpdate><br />
<br />
=over 4<br />
<br />
=item *<br />
<br />
C<installed into: /opt/rt4/local/plugins/RT-Extension-QueueChangeOnUpdate/lib><br />
<br />
=item *<br />
<br />
C<LINKTYPE: dynamic><br />
<br />
=item *<br />
<br />
C<VERSION: 0.01><br />
<br />
=item *<br />
<br />
C<EXE_FILES: ><br />
<br />
=back' > $rt_dir/$lib_dir/perllocal.pod<br />
<br />
# ---<br />
# Create the QueueChangeOnUpdate.pm file<br />
# ---<br />
<br />
echo "use 5.008003;<br />
use strict;<br />
use warnings;<br />
<br />
package RT::Extension::QueueChangeOnUpdate;<br />
<br />
our \$VERSION = '0.01';<br />
<br />
=head1 NAME<br />
<br />
RT::Extension::QueueChangeOnUpdate - edit ticket's Queue on reply/comment<br />
<br />
=head1 DESCRIPTION<br />
<br />
This extension adds often requested feature - update of ticket's Queue on<br />
reply and comment.<br />
<br />
This is for RT 4.0.x.<br />
<br />
=head1 INSTALLATION<br />
<br />
To install run the script, it'll create all the files and directories.<br />
<br />
Register 'RT::Extension::QueueChangeOnUpdate' in the site config;<br />
<br />
Set(@Plugins, qw(<br />
RT::Extension::QueueChangeOnUpdate<br />
... other plugins you may have ...<br />
));<br />
<br />
If you're also using RT::Extension::CustomFieldsOnUpdate then make sure<br />
you include the QueueChangeOnUpdate plugin before the CustomFieldsOnUpdate.<br />
<br />
Set(@Plugins, qw(<br />
RT::Extension::QueueChangeOnUpdate<br />
RT::Extension::CustomFieldsOnUpdate<br />
... other plugins you may have ...<br />
));<br />
<br />
=cut<br />
<br />
=head1 AUTHOR<br />
<br />
Bart E<lt>bart@pleh.infoE<gt><br />
<br />
=head1 LICENSE<br />
<br />
Under the same terms as perl itself.<br />
<br />
=cut<br />
<br />
1;" > $rt_dir/$Extension_dir/QueueChangeOnUpdate.pm</rt><br />
Add the option to change the queue during a comment or reply<br />
[[Category:Contribution]]</div>
Admin