[itsm] Link Config Item to an Agent

Moderator: crythias

Post Reply
LionelC
Znuny newbie
Posts: 10
Joined: 23 Aug 2011, 08:17
Znuny Version: 3.0.9

[itsm] Link Config Item to an Agent

Post by LionelC »

Hello,
I'm new OTRS's user. I'm trying it, in order to replace our current ticket management Software.
For now, i think OTRS is a very great product.

I've just a little problem, i want to link a Config Item Class to an Agent but i don't find how to do.
In fact if you create a computer, there is a field called "owner" that link object to a Client.
I want to do the same thing but with an Agent, is it possible by modifying the class définition?

I look the owner field definition :

Code: Select all

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

So i've tried (whit lot of optimism), to create a field like that :

Code: Select all

{ 
        Key => 'Responsible Agent', 
        Name => 'RespAgent', 
        Searchable => 1, 
        Input => { 
            Type => 'Agent', 
        }, 
    }, 
But it's defenitively not working.

After some hour of search, i'have not found anything, somebody to help me?
Thank a lot.
Phileus
Znuny newbie
Posts: 6
Joined: 22 Aug 2011, 10:46
Znuny Version: 3.0.9
Real Name: Philippe Granger
Company: Prodware
Location: Bordeaux, France

Re: [itsm] Link Config Item to an Agent

Post by Phileus »

I got the same problem.
I try to link an item to a company and not to a customer...Perhaps our solutions are not so far each other ^^
LionelC
Znuny newbie
Posts: 10
Joined: 23 Aug 2011, 08:17
Znuny Version: 3.0.9

Re: [itsm] Link Config Item to an Agent

Post by LionelC »

yes i think our solutions are near each other.

No one have an idea even a little?
Phileus
Znuny newbie
Posts: 6
Joined: 22 Aug 2011, 10:46
Znuny Version: 3.0.9
Real Name: Philippe Granger
Company: Prodware
Location: Bordeaux, France

Re: [itsm] Link Config Item to an Agent

Post by Phileus »

I've just installed this add-on module:
ITSM-CIAttributeCollection
http://opar.perl-services.de/bin/index. ... Collection

I can link an item to a Company.
I can attach some docs to an item.

But I have always the same problem, I can't filter the overview of CMDB according to a customer nor than a company nor than a service ...
LionelC
Znuny newbie
Posts: 10
Joined: 23 Aug 2011, 08:17
Znuny Version: 3.0.9

Re: [itsm] Link Config Item to an Agent

Post by LionelC »

Hello,
i quickly tried you're addon, it's seems to be wonderfull.
I'll search more about what it can do. If i found something about filtering... i'll tell you.
Thanks a lot
denbagusjkt
Znuny newbie
Posts: 23
Joined: 07 Jun 2012, 09:20
Znuny Version: 3.1.5
Real Name: denbagus
Company: indolabsoft

Re: [itsm] Link Config Item to an Agent

Post by denbagusjkt »

after following your tutorial, i have successfully link config item to agent or customer, but why their data not showed at ITSMConfigItemZoom? as notes, this agent or customer is valid on validity state.
yuri0001
Znuny superhero
Posts: 631
Joined: 17 Mar 2011, 14:40
Znuny Version: 5.0.6
Real Name: Yuri Kolesnikov
Location: Russia

Re: [itsm] Link Config Item to an Agent

Post by yuri0001 »

Hi!
The most interesting is to show this links in AgentTicketZoom screen. It may be done by hardcoding in AgentTicketZoom.pm &.dtl using call for ConfigItemSearch OR using KIX4OTRS product, which have this functionality as is. :?
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)
jfhallee
Znuny newbie
Posts: 12
Joined: 22 May 2013, 20:50
Znuny Version: 3.2.4
Real Name: Jean-Francois Hallée
Company: Université de Sherbrooke

Re: [itsm] Link Config Item to an Agent

Post by jfhallee »

Keep me informed if you find the way to do it with a customer!

I know how to do the link too and just wish to see it with the zoom.

Thanks!
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: [itsm] Link Config Item to an Agent

Post by tto »

jfhallee wrote:Keep me informed if you find the way to do it with a customer!

I know how to do the link too and just wish to see it with the zoom.

Thanks!
Hi,

in KIX4OTRS you could also use the CustomerID instead of the CustomerUserID to get a list of assigned CIs.

(0) add a corresponding attribute to your CI-classes (type CIACCustomerCompany fomr ITSM-CIAttributeCollection or CustomerCompany from ITSM 3.1.7+).

(1) go to SysConfig and modify "KIXSidebarConfigItemLink::KIXSidebarLinkedCIsParams": key "SearchAttribute", replace "UserLogin" by "CustomerID"

(2) Configure the search pattern for each relevant CI-class (SysConfig "KIXSidebarConfigItemLink::CISearchInClasses" <CIKLASSE> => <ATTRIBUTEKEY_where_CustomerID_is_stored>). For instance "Computer" => "Company" (assuming you added an AttributeKey "Company" to CI-class "Computer").

...it might be necessary to delete the OTRS-cache (command line: bin/otrs.DeleteCache.pl), then it should list CIs assigned to the Company of the selected customer user.

reagrds, 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.
jfhallee
Znuny newbie
Posts: 12
Joined: 22 May 2013, 20:50
Znuny Version: 3.2.4
Real Name: Jean-Francois Hallée
Company: Université de Sherbrooke

Re: [itsm] Link Config Item to an Agent

Post by jfhallee »

I'll give it a try thanks! Any info as when KIX will be available for OTRS 3.2? Cause we're actually working with 3.2 and doing a downgrade could give some headache.
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: [itsm] Link Config Item to an Agent

Post by tto »

jfhallee wrote:I'll give it a try thanks! Any info as when KIX will be available for OTRS 3.2? Cause we're actually working with 3.2 and doing a downgrade could give some headache.
...it is going to be available end of June 2013. So you should not downgrade your OTRS.

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.
jfhallee
Znuny newbie
Posts: 12
Joined: 22 May 2013, 20:50
Znuny Version: 3.2.4
Real Name: Jean-Francois Hallée
Company: Université de Sherbrooke

Re: [itsm] Link Config Item to an Agent

Post by jfhallee »

tto wrote:...it is going to be available end of June 2013. So you should not downgrade your OTRS.

regards, T.
Perfect ! Thanks! :)
galindro
Znuny newbie
Posts: 2
Joined: 08 Jun 2013, 20:09
Znuny Version: 3.2.7
Real Name: Bruno Galindro da Costa

Re: [itsm] Link Config Item to an Agent

Post by galindro »

Guys, only one thing about item 1:

(1) go to SysConfig and modify "KIXSidebarConfigItemLink::KIXSidebarLinkedCIsParams": key "SearchAttribute", replace "UserLogin" by "CustomerID"

You need to change UserLogin by UserCustomerID nor CustomerID because, by default, this is the atribute Map configured in Customer user backend: http://doc.otrs.org/3.0/en/html/custome ... ckend.html, unless you changed it of course ;)
Post Reply