Calculating the effort spent by each support groups in HPSM

I have a requirement to calculate the time spent by each assignment group in an incident ticket. How to generate the report or dashboard? I have an Incident ticket which was closed in 10 hours, but reassigned to 3 different support groups. I want to find out which group spent how much time on this incident ticket.