Skip to content

Instantly share code, notes, and snippets.

@josy1024
Last active August 17, 2020 10:29
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save josy1024/6c474a709953f85d5d3505eea0243aa6 to your computer and use it in GitHub Desktop.
Save josy1024/6c474a709953f85d5d3505eea0243aa6 to your computer and use it in GitHub Desktop.
OTRS Menu: Waitto, Bing, Azure Devops Tickets Features
$Self->{'Frontend::Navigation'}->{'AgentTicketSearch'}->{'003-Warten'} = [
{
'AccessKey' => '',
'Block' => '',
'Description' => 'Tickets mit Wecker status',
'Group' => [],
'GroupRo' => [],
'Link' => 'Action=AgentTicketSearch',
'LinkOption' => 'onclick="top.location.href=\'https://otrs.example.com/otrs/index.pl?Action=AgentTicketSearch&Subaction=Search&EmptySearch=1&ResultForm=Normal&StateIDs=10\'"; returen false;',
'Name' => 'Suche Warten Tickets',
'NavBar' => 'Ticket',
'Prio' => '700',
'Type' => ''
}
];
$Self->{'Ticket::Frontend::MenuModule'}->{'500-ExternalLink'} = {
'Action' => '',
'ClusterName' => 'Miscellaneous',
'ClusterPriority' => '',
'Description' => 'suche nach bing.com/work/',
'ExternalLink' => '1',
'Link' => 'https://www.bing.com/work/search?q=g%23[% Data.TicketNumber %]&ticketid=[% Data.TicketID %]',
'Module' => 'Kernel::Output::HTML::TicketMenu::Generic',
'Name' => 'bing.com TicketNR',
'PopupType' => '',
'Target' => '_blank'
};
$Self->{'Ticket::Frontend::MenuModule'}->{'998-AzureDevopsSearchTicktetNR'} = {
'Action' => '',
'ClusterName' => 'Miscellaneous',
'ClusterPriority' => '999',
'Description' => 'Azure Devops Code Search g#',
'ExternalLink' => '1',
'Link' => 'https://dev.azure.com/examplecom/_search?text=g%23[% Data.TicketNumber %]',
'Module' => 'Kernel::Output::HTML::TicketMenu::Generic',
'Name' => 'Azure Devops Code Search g#',
'PopupType' => '',
'Target' => '_blank'
};
// + Ticket::Frontend::AgentTicketSearch###DefaultColumns
// DynamicField_Waitto
// + Waitto Status (Closed)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment