[SOLVED]SQL box report.

Moderator: crythias

Locked
immaBeans
Znuny newbie
Posts: 37
Joined: 30 May 2013, 03:36
Znuny Version: 3.2.2
Real Name: Vince
Company: Jollibee Worldwide Service

[SOLVED]SQL box report.

Post by immaBeans »

Good day to all.

Technically Im not good in SQL but I know that SQL box is the only way to see report in OTRS,
Can someone help me to see the reports of "TicketNumber,Owner,Subject,Date Created,State,Lapse from creation to reporting,DateClosed"

Please help. I just want to see our dev server status report. thanks.
And how can I know, how long does the ticket's state is new,open or closed.

exampe:
Report Name: Hours per state
Reporting Date: July 25, 2013
________________________________________________________
| ticket# | Create date | State | Lapse from creation to reporting|
| 000001 | July 15 | new | 15days |
| 000001 | July 15 | open | 12days |


In this example ticket "00001" is created in July 15 and its state is "New" but after "15 days" the state change "New" to "Open"

Thanks for help.
Last edited by immaBeans on 26 Jul 2013, 09:28, edited 1 time in total.
crythias
Moderator
Posts: 10170
Joined: 04 May 2010, 18:38
Znuny Version: 5.0.x
Location: SouthWest Florida, USA
Contact:

Re: SQL box report.

Post by crythias »

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
immaBeans
Znuny newbie
Posts: 37
Joined: 30 May 2013, 03:36
Znuny Version: 3.2.2
Real Name: Vince
Company: Jollibee Worldwide Service

Re: SQL box report.

Post by immaBeans »

Thanks now I can create report in a minute :D
Locked