[Rt-commit] [rtir] 01/09: Define a custom %CustomFieldGroupings

Kevin Falcone falcone at bestpractical.com
Wed Aug 6 13:50:32 EDT 2014


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

falcone pushed a commit to branch 3.2/customfieldgroupings
in repository rtir.

commit 47a60656aa4eba42df2c0bbb03f78a4636432ef7
Author: Kevin Falcone <falcone at bestpractical.com>
Date:   Fri Jul 25 14:22:27 2014 -0400

    Define a custom %CustomFieldGroupings
    
    This makes use of the custom RTIR::Tickets object type so that groupings
    only apply in the 4 RTIR queues (as usual, magic implemented in RT::IR).
    
    These seem to make sense as groupings, rather than putting all the CFs
    in Basics as RTIR has done forever.  We're using Details to group the
    'rest of the CFs' because Customer is on both Investigations and Incident
    Reports and you can't easily specify it to be in one group in one Queue
    and another group in the other Queue.
---
 etc/RTIR_Config.pm | 30 ++++++++++++++++++++++++++++++
 1 file changed, 30 insertions(+)

diff --git a/etc/RTIR_Config.pm b/etc/RTIR_Config.pm
index 634a76b..92f55b9 100644
--- a/etc/RTIR_Config.pm
+++ b/etc/RTIR_Config.pm
@@ -543,6 +543,36 @@ L<Constituencies/Constituency Propagation Options>.
 
 Set( $_RTIR_Constituency_Propagation,    'no' );
 
+=item C<%CustomFieldGroupings>
+
+All of the configuration rules for RT CustomFieldGroupings apply and you
+should review the documentation in F<etc/RT_Config.pm>
+
+RTIR provides a separate 'object' that groupings are applied to,
+RTIR::Ticket. Groupings for this object type will only be applied to
+Custom Fields on Tickets in RTIR Queues. This allows you to
+logically separate your Custom Field configuration between RTIR Queues
+and standalone Queues in your RT instance.
+
+We do not provide the Links core grouping because no RTIR tickets display
+the Links box.  Basics, People and Dates will work as they do in core, but
+keep in mind that Incidents do not display a People box, so CFs in the People
+group will not render on Incidents.  Additionally, People and Dates are not always
+available in all screens in RTIR so may not be the best place for Custom Fields.
+
+=cut
+
+Set(%CustomFieldGroupings,
+    'RTIR::Ticket' => [
+        'Basics'         => ['Constituency'],
+        'Networking'     => ['IP'],
+        'Details' => ['How Reported','Reporter Type','Customer',
+                      'Description', 'Resolution', 'Function', 'Classification',
+                      'Customer',
+                      'Netmask','Port','Where Blocked'],
+    ],
+);
+
 =back
 
 =head1 Blocks

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


More information about the rt-commit mailing list