Hi Folks,
is possible generate a list or statistic of tickets of the same city of the customers? TY
List of tickets of the same city
Moderator: crythias
-
- Znuny expert
- Posts: 204
- Joined: 19 Aug 2014, 17:27
- Znuny Version: 3.1.18
- Real Name: Vlad
- Location: Bogotá (Colombia)
- Contact:
List of tickets of the same city
OTRS: 3.1.18, OTRS::ITSM 3.1.10
Apache2/MySQL 5+
NanoTowerS
"Try not to become a man of success, but rather try to become a man of value." - Albert Einstein
Apache2/MySQL 5+
NanoTowerS
"Try not to become a man of success, but rather try to become a man of value." - Albert Einstein
-
- Moderator
- Posts: 10170
- Joined: 04 May 2010, 18:38
- Znuny Version: 5.0.x
- Location: SouthWest Florida, USA
- Contact:
Re: List of tickets of the same city
No, because city is not an attribute of ticket.
A sample can be like this:
A sample can be like this:
Code: Select all
select t.tn as TicketNumber, ts.name as state, customer_user.first_name, customer_user.last_name, customer_user.login, customer_user.city as city from ticket as t left join ticket_state as ts on ts.id=t.ticket_state_id left join customer_user on customer_user.login=t.customer_user_id order by customer_user.city;
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
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