How to add Responsible,Owner in MyTickets,Customer Interface

Moderator: crythias

Locked
gomonet
Znuny newbie
Posts: 4
Joined: 10 Dec 2010, 17:11
Znuny Version: 3.0.5

How to add Responsible,Owner in MyTickets,Customer Interface

Post by gomonet »

We would like the Customer to be informed who is responsible for his tickets. That is "Owner" or "responsible" fields.
We would like to add a Field in "MyTickets" or "Companty tickets" in Customer Interface.
Is there a way to do that, maybe through the /Kernel/Output/HTML/Standard/CustomerTicketOverview.dtl

Currently it shows "TICKET#" , "TITLE" , "STATE" , "AGE".
OTRS 3.0.5
OTRS 3.0.5 on CentOS 5.5 x86_64 Linux with MySQL 5.0.77 database for Agents and Customers.
crythias
Moderator
Posts: 10170
Joined: 04 May 2010, 18:38
Znuny Version: 5.0.x
Location: SouthWest Florida, USA
Contact:

Re: How to add Responsible,Owner in MyTickets,Customer Inter

Post by crythias »

Have you seen this? http://forums.otrs.org/viewtopic.php?f=60&t=5156 It's for Admin, but the concepts should be applicable to customer interface.
OTRS 6.0.x (private/testing/public) on Linux with MySQL database.
Please edit your signature to include your OTRS version, Operating System, and database type.
Click Subscribe Topic below to get notifications. Consider amending your topic title to include [SOLVED] if it is so.
Need help? Before you ask
gomonet
Znuny newbie
Posts: 4
Joined: 10 Dec 2010, 17:11
Znuny Version: 3.0.5

Re: How to add Responsible,Owner in MyTickets,Customer Inter

Post by gomonet »

I have implemented that great post for my Dashboard, works perfect. Though, this is for the Agent Dashboard.
We would like a hint on the CI part.
Thanks
OTRS 3.0.5 on CentOS 5.5 x86_64 Linux with MySQL 5.0.77 database for Agents and Customers.
crythias
Moderator
Posts: 10170
Joined: 04 May 2010, 18:38
Znuny Version: 5.0.x
Location: SouthWest Florida, USA
Contact:

Re: How to add Responsible,Owner in MyTickets,Customer Inter

Post by crythias »

You have the file name and you have the fields... so you want to know where to put the fields?

Code: Select all

                <tr title="$QData{"TicketNumber"}">
                    <td class="Ticket">
                        <a href="$Env{"Baselink"}Action=CustomerTicketZoom;TicketID=$LQData{"TicketID"}">$QData{"TicketNumber"}</a>
                    </td>
                    <td class="Title">
                        <div>
                            <h2><a href="$Env{"Baselink"}Action=CustomerTicketZoom;TicketID=$LQData{"TicketID"}">$QData{"Subject","60"}</a></h2>
                            &nbsp;-&nbsp; $QData{"Body","200"}
                        </div>
                    </td>
                    <td class="Status" title="$Text{"$Data{"State"}"}">$Quote{"$Text{"$Data{"State"}"}","18"}</td>
                    <td class="Age" title="$TimeShort{"$Data{"Created"}"}">$QData{"Age","20"}</td>
<!-- here -->
OTRS 6.0.x (private/testing/public) on Linux with MySQL database.
Please edit your signature to include your OTRS version, Operating System, and database type.
Click Subscribe Topic below to get notifications. Consider amending your topic title to include [SOLVED] if it is so.
Need help? Before you ask
gomonet
Znuny newbie
Posts: 4
Joined: 10 Dec 2010, 17:11
Znuny Version: 3.0.5

Re: How to add Responsible,Owner in MyTickets,Customer Inter

Post by gomonet »

I was able to show the responsible data , whick is just fine. Not able to give it a title (on top).
Any idea?

Code: Select all

                    <td class="Status" title="$Text{"$Data{"State"}"}">$Quote{"$Text{"$Data{"State"}"}","18"}</td>
                    <td class="Age" title="$TimeShort{"$Data{"Created"}"}">$QData{"Age","20"}</td>
                    <td class="Responsible" title="Responsible">$QData{"Responsible"}</td>
                </tr>
Also tried, with no success ( i missing something)

Code: Select all

                    <td class="Responsible" title="$Text{"$Data{"Responsible"}"}">$QData{"Responsible"}</td>
I don't know the variable??? what should be for
title="$Text{"$Data{"Responsible"}"}"
OTRS 3.0.5 on CentOS 5.5 x86_64 Linux with MySQL 5.0.77 database for Agents and Customers.
gomonet
Znuny newbie
Posts: 4
Joined: 10 Dec 2010, 17:11
Znuny Version: 3.0.5

Re: How to add Responsible,Owner in MyTickets,Customer Inter

Post by gomonet »

It would also better to show the AgentID or Agent email of the responsible for the ticket. Any idea on that too??
OTRS 3.0.5 on CentOS 5.5 x86_64 Linux with MySQL 5.0.77 database for Agents and Customers.
compasas
Znuny newbie
Posts: 2
Joined: 31 Jan 2011, 15:30
Znuny Version: 3.0

Re: How to add Responsible,Owner in MyTickets,Customer Inter

Post by compasas »

I'm also interested in the solution. I tried to get Owner information in CustomerTicketOverView.pm, but got a ticketnumber in dtl instead :(

Code: Select all

    # user info
    my %UserInfo = $Self->{UserObject}->GetUserData(
        UserID => $Param{OwnerID},
    );
	$Param{OwnerName) = $UserInfo{UserFirstname} . ' ' . $UserInfo{UserLastname} if %UserInfo;
OTRS 3.0 on Linux with Oracle database connected to an Active Directory for Agents and Customers.
Locked