[Rt-commit] [rtir] 03/03: For default RTIR installs, use IR not Blocks for New Ticket In

Kevin Falcone falcone at bestpractical.com
Thu Aug 28 20:11:40 EDT 2014


This is an automated email from the git hooks/post-receive script.

falcone pushed a commit to branch master
in repository rtir.

commit 19de086ea8fd2704d74bf08d613156bed16c776d
Author: Kevin Falcone <falcone at bestpractical.com>
Date:   Thu Aug 28 17:14:47 2014 -0500

    For default RTIR installs, use IR not Blocks for New Ticket In
    
    It's always bothered me that we pick the first alphabetical Queue to
    offer New Tickets In, when in RTIR that's the last queue you want to be
    creating tickets in.
    
    If admins haven't already specified a Default Queue, go ahead and set
    our own default of Incident Reports.
---
 etc/RTIR_Config.pm | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)

diff --git a/etc/RTIR_Config.pm b/etc/RTIR_Config.pm
index 9b1d6b9..3e3b43e 100644
--- a/etc/RTIR_Config.pm
+++ b/etc/RTIR_Config.pm
@@ -287,6 +287,23 @@ Home page.
 
 Set($RTIR_RedirectOnLogin, 1);
 
+=item DefaultQueue
+
+By default, RT does not specify a Default Queue.
+If you set one in your RT_SiteConfig.pm, RTIR will honor that setting.
+Otherwise, RTIR will set Incident Reports to be the default Queue
+for the New Ticket In dropdown.
+
+If you prefer another Queue, you should specify it in RT_SiteConfig.pm
+
+=cut
+
+my $default_queue = RT->Config->Get('DefaultQueue');
+unless (defined $default_queue) {
+    RT->Config->Set('DefaultQueue','Incident Reports');
+}
+
+
 =back
 
 =head1 Web Interface Configuration

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the rt-commit mailing list