Creating sub-categories linked to categories

Moderator: crythias

Locked
befrenchy
Znuny newbie
Posts: 1
Joined: 27 Mar 2013, 21:52
Znuny Version: 3.1.11
Real Name: Eric Belanger
Company: Presstran Industries

Creating sub-categories linked to categories

Post by befrenchy »

Just wondering what is the best approach to create categories and sub categories for incidents? Ideally what we would like to see is drop-down box for category and based on what category you select you would have another drop-down box for a sub categories tied to the main category. Alsom we'd like more than just 2 layers, 3 would be ideal.

Is this even possible?
tto
Znuny wizard
Posts: 315
Joined: 09 Jan 2007, 15:24
Znuny Version: OTRS 5.0.x
Real Name: Torsten
Company: c.a.p.e. IT GmbH
Location: Chemnitz
Contact:

Re: Creating sub-categories linked to categories

Post by tto »

Hi there,
befrenchy wrote:Just wondering what is the best approach to create categories and sub categories for incidents? Ideally what we would like to see is drop-down box for category and based on what category you select you would have another drop-down box for a sub categories tied to the main category. Alsom we'd like more than just 2 layers, 3 would be ideal.

Is this even possible?
(of course) it is possible :-), but it requires some programming. One approach would be to create an outputfilter and/or some JS to "transform" the single ticket type dropdown to N-separate dropdown selections which appear "on demand", that is when a type's been selected that has sub types.

There's a non-free feature-add-on out there that does something like this with the service field. We developed a quite similar extension on our own which coul easily be attached to other drop down list fields. However, I personally think, applying this to ticket type selection is not as useful as to service selection. Maybe the queue selection would be another possibility.

regards, T.
--
KIX 17.x (fork of OTRS)
Professional KIX-, or OTRS-integration, development and consulting by c.a.p.e. IT - http://www.cape-it.de
For questions and hints regarding KIX(4OTRS) please go to https://forum.kixdesk.com/
Bei Fragen und Hinweisen zu KIX(4OTRS) bitte an https://forum.kixdesk.com/ wenden.
yuri0001
Znuny superhero
Posts: 630
Joined: 17 Mar 2011, 14:40
Znuny Version: 5.0.6
Real Name: Yuri Kolesnikov
Location: Russia

Re: Creating sub-categories linked to categories

Post by yuri0001 »

It may be done using ACL. This is a labor, but work. See chapter 18 of admin manual (for v.3.1) :?
Best regards Yuri Kolesnikov
OTRS 5.0.14, ITSM 5.0.14
SUSE 13.2, MariaDB 10.0.22(productive)
OTRS 5.0.14, ITSM 5.0.14(test)
Locked