Description
Make it possible that an aggregation is possible on the AgentAssignment model called timeSpent providing the time an agent has worked on that task (i.e. this means summing up the differences between the two timestamps on all chunks of this task which the agent worked on). This can be implemented pretty similar to the timeSpent aggregation on agent just with the difference that it's not on all chunks, but just of the specific task.
Description
Make it possible that an aggregation is possible on the AgentAssignment model called
timeSpentproviding the time an agent has worked on that task (i.e. this means summing up the differences between the two timestamps on all chunks of this task which the agent worked on). This can be implemented pretty similar to thetimeSpentaggregation on agent just with the difference that it's not on all chunks, but just of the specific task.