Search found 3 matches

by gbeers
14 Aug 2010, 01:05
Forum: Help
Topic: Finding tickets assigned to 'root' on any given day
Replies: 3
Views: 2449

Re: Finding tickets assigned to 'root' on any given day

Thanks for the help Crythias. I was able to figure out what I wanted. To help others along that may be looking for the same thing the code is:

select max(id),max(owner_id), ticket_id, max(queue_id) from ticket_history
where create_time between '2010-08-12' and '2010-08-13' group by ticket_id having ...
by gbeers
12 Aug 2010, 23:42
Forum: Help
Topic: Finding tickets assigned to 'root' on any given day
Replies: 3
Views: 2449

Re: Finding tickets assigned to 'root' on any given day

Yes, I've used those style for pretty much all of my other queueries. The actual query I'm working with now is:

Select count(distinct ticket_id) from otrs.ticket_history WHERE create_time < '2010-07-17' and create_time > '2010-07-16' and owner_id = 1 and queue_id = 2

I'm pulling in the dates from ...
by gbeers
12 Aug 2010, 22:20
Forum: Help
Topic: Finding tickets assigned to 'root' on any given day
Replies: 3
Views: 2449

Finding tickets assigned to 'root' on any given day

Hi everybody,

This is my first post here so I apologize in advance if I don't provide as much information as needed.

What I'm looking to do is find out how many tickets were assigned to the root user on any given day in the past via a SQL Query. I've got everything else that I need figured out ...