Difference between revisions of "Extension - Queue Change On Update"
m (4 revisions imported) |
(Added link since old is broken) |
||
Line 7: | Line 7: | ||
This extension was originally posted on: | This extension was originally posted on: | ||
*http://pleh.info/wiki/rt/rt-extension-queuechangeonupdate | *http://pleh.info/wiki/rt/rt-extension-queuechangeonupdate | ||
==Link== | |||
Link to the old .sh file | |||
*http://www.gossamer-threads.com/lists/engine?do=post_attachment;postatt_id=4236;list=rt | |||
==Installation script== | ==Installation script== |
Revision as of 10:58, 27 October 2016
Below the installer script for the RT plugin QueueChangeOnUpdate.
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.
This extension still works for RT 4.2.*
Source
This extension was originally posted on:
Link
Link to the old .sh file
Installation script
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 ^_~).
This was inspirerd by the Custom Fields On Update extension by Ruslan and works verry well allong with it.
#!/bin/bash # --- # This script installs the Request Tracker plugin RT::Extension::QueueChangeOnUpdate # --- # RT installation path rt_dir=/opt/rt4 # Plugin directory paths UpdateHTML_dir=local/plugins/RT-Extension-QueueChangeOnUpdate/html/Callbacks/QueueChangeOnUpdate/Ticket/Update.html Extension_dir=local/plugins/RT-Extension-QueueChangeOnUpdate/lib/RT/Extension lib_dir=local/plugins/RT-Extension-QueueChangeOnUpdate/lib # --- # Create the directories, this is based on an RT installation in /opt/rt4 # --- mkdir -p $rt_dir/$UpdateHTML_dir mkdir -p $rt_dir/$Extension_dir # --- # Create the AfterWorked file # ---
echo ' Queue:
<& /Elements/SelectQueue, Name => "Queue", Default => $Ticket->QueueObj->Id, InTable => 1, &>
<%ARGS> $Ticket ' > $rt_dir/$UpdateHTML_dir/AfterWorked # --- # Create the perllocal.pod file # --- echo '=head2 Mon Feb 13 09:52:24 2012: C