Solved: OTRS::ITSM Config Item Class Definition Reference

Moderator: crythias

Post Reply
RBehr
Znuny expert
Posts: 167
Joined: 26 Jan 2011, 13:23
Znuny Version: 3.0.7
Real Name: Rod Behr
Company: Impact
Location: London, United Kingdom
Contact:

Solved: OTRS::ITSM Config Item Class Definition Reference

Post by RBehr »

I cannot be the first to ask this, but is there a reference list for the code used to define a CI class? I can find nothing on this site or the web.

We are an audiovisual company and are using OTRS::ITSM but setting up audiovisual equipment as CIs. As such, their definitions differ from the standard OTRS::ITSM CI classes. I am looking for field types such as URL (clickable when viewing the CI's details), a means of forcing a field to contain a unique value, input masking (forcing IP Addresses and MAC Addresses to use a set format) and so on. The structure/syntax is easy enough to understand, but what options are available other than those already present?

Is there any reference out there?
Last edited by RBehr on 20 Oct 2011, 17:53, edited 1 time in total.
Rod Behr
Software Design Manager and Database Analyst | Impact Audiovisual | London
Installation: OTRS 3.0.7, Apache 2, Strawberry Perl 5 on Ubuntu 10.04.3 Server with separate MySQL Server, also on Ubuntu 10.04.3
Alexander Halle
Znuny expert
Posts: 296
Joined: 04 Jul 2010, 17:49
Znuny Version: 3.1.x
Real Name: Alexander Halle
Company: radprax MVZ GmbH
Location: Wuppertal
Contact:

Re: OTRS::ITSM Config Item Class Definition Reference

Post by Alexander Halle »

Hi,

the community isn't that strong regarding ITSM which is a pity because the module lacks some many features compared to other OTRS functions. I already find it hard to find other ITSM users to talk with, so extensions are even harder to make. There seem to be enough OTRS::ITSM users but they don't seem to be interestend in community or they don't know it.

So concerning your questions I can only tell you that AFAIK none of these features exist yet. You'll find very few but important ITSM extensions at OPAR (http://opar.perl-services.de/) but not the ones you are looking for.

Especially the lack of an URL field is a shame because this would make all sorts of connections to other system possible and I don't think that it is that hard to implement. And yes, I need this element, too.

But as said it's difficult to find programmers willing to help with OTRS::ITSM development questions. We are thinking about creating an ITSM sub forum here or some sort of developer place at OtterHub (http://www.otterhub.org/en/) to create a meeting point for developers but this will take time. Spreading the knowledge about OTRS development for simple things is one of our main goals.

Of course open source software has to be developed and maintained by paid people so you have always the possibility to order such extensions for example from the OTRS company group (http://www.otrs.com/).

Of course I'm wondering a lot if no one has yet ordered such extensions and if yes why no one published them. Open source is only powerful if we don't reinvent the wheel but share our code so we spend money on developing even more advanced features. So that are your options at the moment: Buy it, develop it yourself, wait for a professional community at OtterHub to buy it or develop it together with other users or change the product (bad choice).

At the moment I know the following built-in item types:

Integer
Text
TextArea
Date
DateTime
GeneralCatalog
Customer
Dummy

AFAIK they have not many options, especially not advanced features like input masks.

You can also look at the feature tracker (http://otrsteam.ideascale.com/) for the needs and ideas of others and the corresponding state of work.

You might be interested in a planned UK OTS meet-up: http://www.linkedin.com/groups/Is-anybo ... S.52989104

I'm sorry that I can't help more.

Alexander
Alexander Halle System: OTRS 3.1.x, Ubuntu 10.04.x LTS, MySQL 5.1.x, Apache 2.2.x
OTRS Community Links: User Meetings, Projects
jojo
Znuny guru
Posts: 15019
Joined: 26 Jan 2007, 14:50
Znuny Version: Git Master
Contact:

Re: OTRS::ITSM Config Item Class Definition Reference

Post by jojo »

URLs can be written in the field type Text as this will automatically turn into a link if the URL uses http:// or ftp://
"Production": OTRS™ 8, OTRS™ 7, STORM powered by OTRS
"Testing": ((OTRS Community Edition)) and git Master

Never change Defaults.pm! :: Blog
Professional Services:: http://www.otrs.com :: enjoy@otrs.com
Alexander Halle
Znuny expert
Posts: 296
Joined: 04 Jul 2010, 17:49
Znuny Version: 3.1.x
Real Name: Alexander Halle
Company: radprax MVZ GmbH
Location: Wuppertal
Contact:

Re: OTRS::ITSM Config Item Class Definition Reference

Post by Alexander Halle »

jojo wrote:URLs can be written in the field type Text as this will automatically turn into a link if the URL uses http:// or ftp://
thanks, excellent :)

- Does this require a certain version (e.g. ITSM 3.0)?
- Are other URL handlers supported, especially file://?
Alexander Halle System: OTRS 3.1.x, Ubuntu 10.04.x LTS, MySQL 5.1.x, Apache 2.2.x
OTRS Community Links: User Meetings, Projects
RBehr
Znuny expert
Posts: 167
Joined: 26 Jan 2011, 13:23
Znuny Version: 3.0.7
Real Name: Rod Behr
Company: Impact
Location: London, United Kingdom
Contact:

Re: OTRS::ITSM Config Item Class Definition Reference

Post by RBehr »

The URL thing is excellent, thanks jojo.

How would I make a field read-only? The CI data is imported from another system and I need to import the identifier but, obviously, keep the users from editing it.
Rod Behr
Software Design Manager and Database Analyst | Impact Audiovisual | London
Installation: OTRS 3.0.7, Apache 2, Strawberry Perl 5 on Ubuntu 10.04.3 Server with separate MySQL Server, also on Ubuntu 10.04.3
RBehr
Znuny expert
Posts: 167
Joined: 26 Jan 2011, 13:23
Znuny Version: 3.0.7
Real Name: Rod Behr
Company: Impact
Location: London, United Kingdom
Contact:

Re: OTRS::ITSM Config Item Class Definition Reference

Post by RBehr »

Any news on how to make a CI field read-only?
Rod Behr
Software Design Manager and Database Analyst | Impact Audiovisual | London
Installation: OTRS 3.0.7, Apache 2, Strawberry Perl 5 on Ubuntu 10.04.3 Server with separate MySQL Server, also on Ubuntu 10.04.3
RBehr
Znuny expert
Posts: 167
Joined: 26 Jan 2011, 13:23
Znuny Version: 3.0.7
Real Name: Rod Behr
Company: Impact
Location: London, United Kingdom
Contact:

Re: OTRS::ITSM Config Item Class Definition Reference

Post by RBehr »

Any advice on this would be sincerely appreciated. Please!
Rod Behr
Software Design Manager and Database Analyst | Impact Audiovisual | London
Installation: OTRS 3.0.7, Apache 2, Strawberry Perl 5 on Ubuntu 10.04.3 Server with separate MySQL Server, also on Ubuntu 10.04.3
Alexander Halle
Znuny expert
Posts: 296
Joined: 04 Jul 2010, 17:49
Znuny Version: 3.1.x
Real Name: Alexander Halle
Company: radprax MVZ GmbH
Location: Wuppertal
Contact:

Re: OTRS::ITSM Config Item Class Definition Reference

Post by Alexander Halle »

Regarding configuration this is not possible, user rights are only possible per CI-class, but not per field.
Regarding development of such a feature I have no hint where to begin, sorry :(
Alexander Halle System: OTRS 3.1.x, Ubuntu 10.04.x LTS, MySQL 5.1.x, Apache 2.2.x
OTRS Community Links: User Meetings, Projects
RBehr
Znuny expert
Posts: 167
Joined: 26 Jan 2011, 13:23
Znuny Version: 3.0.7
Real Name: Rod Behr
Company: Impact
Location: London, United Kingdom
Contact:

Re: OTRS::ITSM Config Item Class Definition Reference

Post by RBehr »

What about field maps, like in the config.pm file? There is a read-only flag there. Is there any similar field mapping that can be applied to a CI?
Rod Behr
Software Design Manager and Database Analyst | Impact Audiovisual | London
Installation: OTRS 3.0.7, Apache 2, Strawberry Perl 5 on Ubuntu 10.04.3 Server with separate MySQL Server, also on Ubuntu 10.04.3
jojo
Znuny guru
Posts: 15019
Joined: 26 Jan 2007, 14:50
Znuny Version: Git Master
Contact:

Re: OTRS::ITSM Config Item Class Definition Reference

Post by jojo »

No, there is no feature like this.
"Production": OTRS™ 8, OTRS™ 7, STORM powered by OTRS
"Testing": ((OTRS Community Edition)) and git Master

Never change Defaults.pm! :: Blog
Professional Services:: http://www.otrs.com :: enjoy@otrs.com
RBehr
Znuny expert
Posts: 167
Joined: 26 Jan 2011, 13:23
Znuny Version: 3.0.7
Real Name: Rod Behr
Company: Impact
Location: London, United Kingdom
Contact:

Re: OTRS::ITSM Config Item Class Definition Reference

Post by RBehr »

Okay. Thanks.
Rod Behr
Software Design Manager and Database Analyst | Impact Audiovisual | London
Installation: OTRS 3.0.7, Apache 2, Strawberry Perl 5 on Ubuntu 10.04.3 Server with separate MySQL Server, also on Ubuntu 10.04.3
Sayannara
Znuny advanced
Posts: 118
Joined: 22 May 2012, 12:37
Znuny Version: OTRS 7.06
Real Name: Yann
Company: FVE
Contact:

Re: Solved: OTRS::ITSM Config Item Class Definition Reference

Post by Sayannara »

Is it be possible to add a default value in the class definition ? If yes what's the syntax ?
Centos 7 / OTRS::ITSM 6 Business Solutions / MariaDB / Apache
root
Administrator
Posts: 3963
Joined: 18 Dec 2007, 12:23
Znuny Version: Znuny and Znuny LTS
Real Name: Roy Kaldung
Company: Znuny
Contact:

Re: Solved: OTRS::ITSM Config Item Class Definition Reference

Post by root »

Sayannara wrote:Is it be possible to add a default value in the class definition ? If yes what's the syntax ?
Please don't hijack threads ;-)

Btw, this post is from 2011
Znuny and Znuny LTS running on CentOS / RHEL / Debian / SLES / MySQL / PostgreSQL / Oracle / OpenLDAP / Active Directory / SSO

Use a test system - always.

Do you need professional services? Check out https://www.znuny.com/

Do you want to contribute or want to know where it goes ?
Post Reply