Connect configuration item (CI) from CMDB to Customer

Moderator: crythias

Post Reply
AlexITA
Znuny newbie
Posts: 4
Joined: 09 Nov 2016, 18:08
Znuny Version: OTRS5

Connect configuration item (CI) from CMDB to Customer

Post by AlexITA »

I have the latest version of OTRS(5.0.14) with the following packages:
  • DynamicFieldITSMConfigItem
  • GeneralCatalog
  • ITSM-CIAttributeCollection
  • ITSMConfigurationManagement
  • ITSMCore
Is it possible to relate CIs to company and/or to customer user natively or with some free package? Please, give me some examples.

Thanks.
reneeb
Znuny guru
Posts: 5018
Joined: 13 Mar 2011, 09:54
Znuny Version: 6.0.x
Real Name: Renée Bäcker
Company: Perl-Services.de
Contact:

Re: Connect configuration item (CI) from CMDB to Customer

Post by reneeb »

From the ITSM-CIAttributeCollection docs:

Code: Select all

(vi) Use of the CI-Attribute "CustomerUserCompany"

    behaves similar to customer user attribute but refers to a CustomerCompany

    look up in all CustomerDatas for CustomerCompany

EXAMPLE:

    {
        Key        => 'CustomerUserCompany',
        Name       => 'CustomerUserCompany',
        Searchable => 1,
        Input => {
            Type => 'CustomerUserCompany',
        },
    },

(vii) Use of the CI-Attribute "CIACCustomerCompany" (f.k.a. "CustomerCompany")

    behaves similar to customer user attribute but refers to a Customer Company

    look up in CustomerCompany-Backend

    attribute type renamed in r2.0.1 from "CustomerCompany" to "CIACCustomerCompany", since OTRS::ITSM 3.1.6 introduced a similar attribute type

EXAMPLE:

    {
        Key        => 'CustomerCompany',
        Name       => 'CustomerCompany',
        Searchable => 1,
        Input => {
            Type => 'CIACCustomerCompany',
        },
    },
http://opar.perl-services.de/dist/ITSM- ... Collection
Perl / Znuny development: http://perl-services.de
Free Znuny add ons from the community: http://opar.perl-services.de
Commercial add ons: http://feature-addons.de
AlexITA
Znuny newbie
Posts: 4
Joined: 09 Nov 2016, 18:08
Znuny Version: OTRS5

Re: Connect configuration item (CI) from CMDB to Customer

Post by AlexITA »

Thanks for the answer, I've already implemented it. Is it possible to have an auto-complete field which will populates only with CIs of the selected company/customer? See:

Image
Fenris
Znuny newbie
Posts: 6
Joined: 23 Oct 2017, 14:54
Znuny Version: 5.0.25

Re: Connect configuration item (CI) from CMDB to Customer

Post by Fenris »

Hello AlexITA,

I have the same problem.
How do you get this extra CI-field into the Ticket?
Could you fix the problem with the auto-complete field?

Regards Fenris
Post Reply