Masters of service management, I'm racking my brains trying to somehow link a new ticket to a FAQ item already at the opening. I tried the generic attendant and tried a Perl code, both without success. I also didn't find any relevant documentation that would guide me. Does anyone have a light?
Thanks in advance.
Link a new ticket to a FAQ item already at the opening
Moderator: crythias
-
- Znuny superhero
- Posts: 639
- Joined: 24 Feb 2012, 03:58
- Znuny Version: LTS and Features
- Real Name: Mo Azfar
- Location: Kuala Lumpur, MY
- Contact:
Re: Link a new ticket to a FAQ item already at the opening
since you already in generic agent and perl code,
you are lookin at https://doc.znuny.org/legacy/api/otrs/6 ... ml#LinkAdd
This will be the combination of DynamicField (populate faq_id, faq_title), GenericAgent and Custom Module that should contains code as below
Good luck
you are lookin at https://doc.znuny.org/legacy/api/otrs/6 ... ml#LinkAdd
This will be the combination of DynamicField (populate faq_id, faq_title), GenericAgent and Custom Module that should contains code as below
Code: Select all
$True = $LinkObject->LinkAdd(
SourceObject => 'Ticket',
SourceKey => '<TicketID>',
TargetObject => 'FAQ',
TargetKey => '<FAQID>',
Type => 'ParentChild',
State => 'Valid',
UserID => 1,
);
My Github
OTRS CE/LTS Discord Channel
Cant Update Package Anymore ? Check This
Professional OTRS, Znuny & OTOBO services: efflux.de/en
Free and premium add-ons: English
OTRS CE/LTS Discord Channel
Cant Update Package Anymore ? Check This
Professional OTRS, Znuny & OTOBO services: efflux.de/en
Free and premium add-ons: English