"Geschlossene Tickets" im Kunden-Informationszentrum

Hilfe zu Znuny Problemen aller Art
Post Reply
mkarg
Znuny advanced
Posts: 136
Joined: 03 Jul 2014, 15:17
Znuny Version: 5s (Free)
Real Name: Markus KARG
Company: ProSeS BDE GmbH

"Geschlossene Tickets" im Kunden-Informationszentrum

Post by mkarg »

Ich wundere mich ein bisschen, wieso eigentlich das Kunden-Informationszentrum keine optional einschaltbare Anzeige für "Geschlossene Tickets" anbietet. Sind unsere Kunden die einzigen, die ständig nach fragen, wer aus deren Hause denn wann ein Ticket offen hatte und was denn dabei raus kam...? :-)
OTRS 5s (Free) (Debian Squeeze 64 Bit; PostgreSQL) + Agents-Auth_LDAP (ActiveDirectory) + CustomerUser_DB (FreeTDS; MSSQL; MSCRM)
RStraub
Znuny guru
Posts: 2210
Joined: 13 Mar 2014, 09:16
Znuny Version: 6.0.14
Real Name: Rolf Straub

Re: "Geschlossene Tickets" im Kunden-Informationszentrum

Post by RStraub »

Wäre das nicht sowas?
Ticket -> Frontend::Customer
Frontend::CustomerUser::Item###17-ClosedTickets
Mit der Beschreibung:

Code: Select all

Customer item (icon) which shows the closed tickets of this customer as info block. Setting CustomerUserLogin to 1 searches for tickets based on login name rather than CustomerID.
Der Block direkt darunter ist evtl. auch interessant.
Currently using: OTRS 6.0.14 -- MariaDB -- Ubuntu 16 LTS
Anthrazz
Znuny newbie
Posts: 13
Joined: 26 May 2014, 12:03
Znuny Version: 4.0.5

Re: "Geschlossene Tickets" im Kunden-Informationszentrum

Post by Anthrazz »

Ich habe dafür in der Kernel/Config.pm ein extra Widget konfiguriert:

Code: Select all

$Self->{'AgentCustomerInformationCenter::Backend'}->{'0200-CIC-TicketClosed'} =  {
      'Attributes' => 'StateType=closed;',
      'Block' => 'ContentLarge',
      'CacheTTLLocal' => '1',  
      'Default' => '1',
      'DefaultColumns' => {
        'Age' => '2',
        'Changed' => '1',
        'CustomerID' => '1',   
        'CustomerName' => '1', 
        'CustomerUserID' => '1',
        'EscalationResponseTime' => '1',
        'EscalationSolutionTime' => '1',
        'EscalationTime' => '1',
        'EscalationUpdateTime' => '1',
        'Lock' => '1',
        'Owner' => '1',
        'PendingTime' => '1',  
        'Priority' => '1',
        'Queue' => '2',
        'Responsible' => '1',  
        'SLA' => '1',
        'Service' => '1',
        'State' => '1',
        'TicketNumber' => '2', 
        'Title' => '2',
        'Type' => '1',
      },
      'Description' => 'Closed tickets of customer',
      'Filter' => 'All',
      'Group' => '',
      'Limit' => '25',
      'Module' => 'Kernel::Output::HTML::DashboardTicketGeneric',
      'Permission' => '',
      'Time' => 'Age',
      'Title' => 'Closed tickets'
    };
mkarg
Znuny advanced
Posts: 136
Joined: 03 Jul 2014, 15:17
Znuny Version: 5s (Free)
Real Name: Markus KARG
Company: ProSeS BDE GmbH

Re: "Geschlossene Tickets" im Kunden-Informationszentrum

Post by mkarg »

RStraub wrote:Wäre das nicht sowas?
Ticket -> Frontend::Customer
Frontend::CustomerUser::Item###17-ClosedTickets
Mit der Beschreibung:

Code: Select all

Customer item (icon) which shows the closed tickets of this customer as info block. Setting CustomerUserLogin to 1 searches for tickets based on login name rather than CustomerID.
Der Block direkt darunter ist evtl. auch interessant.
Wenn ich das einschalte ändert sich im Kunden-Informationszentrum ehrlich gesagt gar nichts. Hm...
OTRS 5s (Free) (Debian Squeeze 64 Bit; PostgreSQL) + Agents-Auth_LDAP (ActiveDirectory) + CustomerUser_DB (FreeTDS; MSSQL; MSCRM)
mkarg
Znuny advanced
Posts: 136
Joined: 03 Jul 2014, 15:17
Znuny Version: 5s (Free)
Real Name: Markus KARG
Company: ProSeS BDE GmbH

Re: "Geschlossene Tickets" im Kunden-Informationszentrum

Post by mkarg »

Anthrazz wrote:Ich habe dafür in der Kernel/Config.pm ein extra Widget konfiguriert:

Code: Select all

$Self->{'AgentCustomerInformationCenter::Backend'}->{'0200-CIC-TicketClosed'} =  {
      'Attributes' => 'StateType=closed;',
      'Block' => 'ContentLarge',
      'CacheTTLLocal' => '1',  
      'Default' => '1',
      'DefaultColumns' => {
        'Age' => '2',
        'Changed' => '1',
        'CustomerID' => '1',   
        'CustomerName' => '1', 
        'CustomerUserID' => '1',
        'EscalationResponseTime' => '1',
        'EscalationSolutionTime' => '1',
        'EscalationTime' => '1',
        'EscalationUpdateTime' => '1',
        'Lock' => '1',
        'Owner' => '1',
        'PendingTime' => '1',  
        'Priority' => '1',
        'Queue' => '2',
        'Responsible' => '1',  
        'SLA' => '1',
        'Service' => '1',
        'State' => '1',
        'TicketNumber' => '2', 
        'Title' => '2',
        'Type' => '1',
      },
      'Description' => 'Closed tickets of customer',
      'Filter' => 'All',
      'Group' => '',
      'Limit' => '25',
      'Module' => 'Kernel::Output::HTML::DashboardTicketGeneric',
      'Permission' => '',
      'Time' => 'Age',
      'Title' => 'Closed tickets'
    };
Die Frage ist, ob man das wirklich selbst tun muss, oder ob OTRS 3.3.8 das vielleicht schon von Hause aus mitbringt, wenn man es denn irgendwo einschaltet...?
OTRS 5s (Free) (Debian Squeeze 64 Bit; PostgreSQL) + Agents-Auth_LDAP (ActiveDirectory) + CustomerUser_DB (FreeTDS; MSSQL; MSCRM)
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: "Geschlossene Tickets" im Kunden-Informationszentrum

Post by reneeb »

In der Box "Firmenstatus" gibt es doch einen Link bei "Geschlossene Tickets". Reicht das nicht?
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
mkarg
Znuny advanced
Posts: 136
Joined: 03 Jul 2014, 15:17
Znuny Version: 5s (Free)
Real Name: Markus KARG
Company: ProSeS BDE GmbH

Re: "Geschlossene Tickets" im Kunden-Informationszentrum

Post by mkarg »

reneeb wrote:In der Box "Firmenstatus" gibt es doch einen Link bei "Geschlossene Tickets". Reicht das nicht?
Den Link kenne ich, der ist auch OK, die Frage ist ja letztendlich aber, kann man über die Config ein im Standard "verstecktes" Widget aktivieren dafür (ein Klick weniger für den Agent)? :-)
OTRS 5s (Free) (Debian Squeeze 64 Bit; PostgreSQL) + Agents-Auth_LDAP (ActiveDirectory) + CustomerUser_DB (FreeTDS; MSSQL; MSCRM)
eise
Znuny newbie
Posts: 5
Joined: 10 Oct 2024, 10:50
Znuny Version: 7.0
Real Name: Sebus Eils

Re: "Geschlossene Tickets" im Kunden-Informationszentrum

Post by eise »

Hallo Zusammen,

hat hier jemand eine Lösung?

Da es doch ab und an Rückfragen zu einem geschlossenen Ticket per Telefon gibt, oder um einfach nochmal das geschlossene Ticket zu kontrollieren wäre nützlich im Dashboard und unter den Kundeninformationen auch noch die geschlossenen Tickets anzuzeigen.
You do not have the required permissions to view the files attached to this post.
paulfolkers
Znuny newbie
Posts: 44
Joined: 19 Jan 2024, 16:07
Znuny Version: 7.1.3
Real Name: Paul Folkers
Company: IT.WESER-EMS
Contact:

Re: "Geschlossene Tickets" im Kunden-Informationszentrum

Post by paulfolkers »

Hi eise,

wenn es ein gefragtes Feature ist, würde ich dir empfehlen, einen Feature Request im Github zu erstellen.

Alternativ kann man das natürlich auch zwischenzeitlich als AddOn entwickeln, der Aufwand wäre überschaubar.

Ich finde das Feature im Zusammenhang mit einer einfachen Umsetzung ebenfalls interessant und würde das mal mit auf meine Agenda nehmen.
Founder of IT.WESER-EMS (open source-focused IT-consulting) in Oldenburg, Northern Germany.
Dedicated to Znuny, GLPI and CheckMK 8)

Znuny consulting & development via IT.WESER-EMS
paulfolkers
Znuny newbie
Posts: 44
Joined: 19 Jan 2024, 16:07
Znuny Version: 7.1.3
Real Name: Paul Folkers
Company: IT.WESER-EMS
Contact:

Re: "Geschlossene Tickets" im Kunden-Informationszentrum

Post by paulfolkers »

Hi, ich habe nochmal nachgeschaut, es wird nur ein SysConfig-Eintrag benötigt, um die geschlossenen Tickets anzeigen zu lassen.

Einfach im Verzeichnis Kernel/Config/Files/XML/ folgende XML ablegen (am besten natürlich sauber über ein Paket :wink:).
Passende Berechtigungen nicht vergessen und anschließend einmal ein Config-Rebuild ausführen:
sudo -u znuny /opt/znuny/bin/znuny.Console.pl Maint::Config::Rebuild

Code: Select all

<?xml version="1.0" encoding="utf-8" ?>
<otrs_config version="2.0" init="Changes">
    <Setting Name="AgentCustomerInformationCenter::Backend###0125-CIC-TicketClosed" Required="0" Valid="1">
        <Description Translatable="1">Parameters for the dashboard backend of the closed tickets overview of the agent interface. "Limit" is the number of entries shown by default. "Group" is used to restrict the access to the plugin (e. g. Group: admin;group1;group2;). "Default" determines if the plugin is enabled by default or if the user needs to enable it manually. "CacheTTLLocal" is the cache time in minutes for the plugin. Note: Only Ticket attributes and Dynamic Fields (DynamicField_NameX) are allowed for DefaultColumns.</Description>
        <Navigation>Frontend::Agent::View::CustomerInformationCenter</Navigation>
        <Value>
            <Hash>
                <Item Key="Module">Kernel::Output::HTML::Dashboard::TicketGeneric</Item>
                <Item Key="Title" Translatable="1">Closed tickets</Item>
                <Item Key="Description" Translatable="0">All closed tickets for this customer.</Item>
                <Item Key="Attributes">StateType=closed;</Item>
                <Item Key="Filter" Translatable="1">All</Item>
                <Item Key="Time">Age</Item>
                <Item Key="Limit">10</Item>
                <Item Key="Permission">ro</Item>
                <Item Key="Block">ContentLarge</Item>
                <Item Key="Group"></Item>
                <Item Key="Default">1</Item>
                <Item Key="CacheTTLLocal">0.5</Item>
                <Item Key="DefaultColumns">
                    <Hash>
                        <DefaultItem ValueType="Select">
                            <Item ValueType="Option" Value="0" Translatable="1">0 - Disabled</Item>
                            <Item ValueType="Option" Value="1" Translatable="1">1 - Available</Item>
                            <Item ValueType="Option" Value="2" Translatable="1">2 - Enabled by default</Item>
                        </DefaultItem>
                        <Item Key="Age" SelectedID="2"></Item>
                        <Item Key="Changed" SelectedID="1"></Item>
                        <Item Key="Created" SelectedID="1"></Item>
                        <Item Key="CustomerCompanyName" SelectedID="1"></Item>
                        <Item Key="CustomerID" SelectedID="1"></Item>
                        <Item Key="CustomerName" SelectedID="1"></Item>
                        <Item Key="CustomerUserID" SelectedID="1"></Item>
                        <Item Key="EscalationResponseTime" SelectedID="1"></Item>
                        <Item Key="EscalationSolutionTime" SelectedID="1"></Item>
                        <Item Key="EscalationTime" SelectedID="1"></Item>
                        <Item Key="EscalationUpdateTime" SelectedID="1"></Item>
                        <Item Key="TicketNumber" SelectedID="2"></Item>
                        <Item Key="Lock" SelectedID="1"></Item>
                        <Item Key="Owner" SelectedID="1"></Item>
                        <Item Key="PendingTime" SelectedID="1"></Item>
                        <Item Key="Queue" SelectedID="1"></Item>
                        <Item Key="Responsible" SelectedID="1"></Item>
                        <Item Key="Priority" SelectedID="1"></Item>
                        <Item Key="Service" SelectedID="1"></Item>
                        <Item Key="State" SelectedID="1"></Item>
                        <Item Key="SLA" SelectedID="1"></Item>
                        <Item Key="Title" SelectedID="2"></Item>
                        <Item Key="Type" SelectedID="1"></Item>
                    </Hash>
                </Item>
            </Hash>
        </Value>
    </Setting>
</otrs_config>
Founder of IT.WESER-EMS (open source-focused IT-consulting) in Oldenburg, Northern Germany.
Dedicated to Znuny, GLPI and CheckMK 8)

Znuny consulting & development via IT.WESER-EMS
Post Reply