/build/static/layout/Breadcrumb_cap_w.png

Service Desk report, per Engineer, per day, 360 minutes time worked

Hi,

We have 5 Engineers and we want to ensure they are logging about 360 minutes per day. They can add time albeit not in a way I'd like on the ticketing system but I'm wondering how we can report on this so they can run a report daily that shows the amount of time each engineer has spent per day.

The scenario is as such:

Engineer logs a ticket (or it's gets emailed in).
They assign themselves as an owner.
The add some work to the ticket, say 10 minutes. (but click the Add work and clicking 00:10 on the start time box (I know, not ideal)
Then they save it.
They look through other tickets they have and do work on them and each time add a duration to the ticket.
I need a count that counts up all those time additions per day and reports it for each engineer.

Make sense?

Thanks,

Jonny.



2 Comments   [ + ] Show comments
  • It's not a complete answer, that would have to be a custom report built from scratch but....

    If you take the standard report "Work Report last 31 days by person" and duplicate it.

    In the duplicate, add to the "BREAK ON COLUMNS" box ",DATE" it will show you time worked by date and Technician, which could at least as an interim be dumped into Excel as a CSV and totalled - Hobbsy 9 years ago
    • That's almost what I need. Thank you. But I still would like a proper report. - JonnyBarr 9 years ago
  • Anyone any clue how to do the final part of this question? - JonnyBarr 9 years ago

Answers (1)

Posted by: chucksteel 9 years ago
Red Belt
0
If you have the techs enter their hours under Adjustment Hours then you can use a report like this:
SELECT USER_ID, USER.FULL_NAME, DATE(HD_WORK.MODIFIED), SUM(ADJUSTMENT_HOURS) FROM ORG1.HD_WORK
JOIN USER on USER.ID = HD_WORK.USER_ID
GROUP BY USER_ID, DATE(HD_WORK.MODIFIED)


Comments:
  • That's fantastic.
    How do I get it to only show today instead of all days?

    Where Date = (Today)

    Thanks, - JonnyBarr 9 years ago
    • SELECT USER_ID, USER.FULL_NAME, DATE(HD_WORK.MODIFIED), SUM(ADJUSTMENT_HOURS) FROM ORG1.HD_WORK
      JOIN USER on USER.ID = HD_WORK.USER_ID
      WHERE DATE(HD_WORK.MODIFIED) = DATE(NOW())
      GROUP BY USER_ID, DATE(HD_WORK.MODIFIED) - chucksteel 9 years ago
      • Again, fantastic. Now how to we get the answer in minutes to 0 decimal places? - JonnyBarr 9 years ago
      • Since we don't use that field I'm not sure what the data normally looks like. How is it shown in the report? - chucksteel 9 years ago
      • It looks like this:

        Sum(Adjustment Hours)
        0.8000000268220901

        So each 0.1 = 6 minutes.
        I will be instruction the engineers t update their time in 6 minute increments.

        So 0.2 =12 mins, 0.3 = 18 mins and so on.
        happy if it round up to 0 decimal places. - JonnyBarr 9 years ago
      • You should be able to convert the time to seconds and then use sec_to_time to display as hours:minute:seconds. So instead of SUM(ADJUSTMENT_HOURS) you would have:
        sec_to_time(SUM(ADJUSTMENT_HOURS)*3600) AS "Work Time" - chucksteel 9 years ago
      • We are nearly there. Great stuff.

        Now shows as:

        Work Time
        00:48:00.000096

        Can we truncate and remove the seconds and just have it as a total count in minutes.

        I've added 18 minutes to the total and now it shows as
        Work Time
        01:06:00.000112

        Can this show as:

        Work Time
        66 minutes


        Thanks, - JonnyBarr 9 years ago
      • Check the syntax for the time_format function:
        https://dev.mysql.com/doc/refman/5.5/en/date-and-time-functions.html#function_time-format - chucksteel 9 years ago
      • I have no idea on how to do this. Is it possible? - JonnyBarr 9 years ago

Don't be a Stranger!

Sign up today to participate, stay informed, earn points and establish a reputation for yourself!

Sign up! or login

Share

 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ