I want to track time spent by each agent on each task on a JIRA Kanban board. If an agent was assigned a task and he assigns it back to me, I want to track the time he spent assigned to the ticket. Is there a way to do that?
Tracking Workflow Transitions
Tracking ticket assignments between people is generally considered a workflow or state transition. According to an Atlassian Confluence document, there are some recommended ways for tracking workflow transitions.
Tracking the Time Taken for Each Workflow Transition
Below are 3 solutions which may fulfill your time tracking requirements:
- JIRA Charts can report 'Average Time in Status' as a chart
- The JIRA Suite Utilities has a 'Transitions Summary' tab panel
- The Time in Status app provides automated time tracking for statuses or assignees
You can also visit the Atlassian Marketplace to review hundreds of time tracking apps and integrations to help you track, plan, and optimize with ease.
If none of the recommended approaches work for you, then Atlassian recommends reviewing your options from the Atlassian Marketplace. You might also want to look at the cloud or developer APIs if you decide to "roll your own."
Stop micromanaging and focusing on low value metrics.
Attempting to use how many hours each person worked as a tool for issue analysis is dysfunctional. (It is also a metric that can be easily gamed.) In order to investigate and address any possible issues, the team needs to have a candid discussion during the Sprint Retrospective (Scrum) or similar agile principled reflection.
(From my answer for the same regarding VSTS.)
There is a new app on the Marketplace, Clockwork Automated Timesheets, that makes time tracking automatic. It integrates with Jira's workflow so that the time logged corresponds to how much time an issue was In Progress or had any other active status. If necessary, the timers can always be started or stopped manually. There are also reports available. The one thing you mentioned and the app can't currently do is to reassign the logged time to another user. Hope that helps.