/
getTimeSpent
getTimeSpent
Description
Gets the time spent (logged) on an issue by a certain user or group.
Parameters
Return Type
Interval
Returns an interval that represents the sum of all the worklogs of the specified user or members of the specified group on the issue.
Examples
Example 1
getTimeSpent("PRJ-32", "jira-users");
Returns: The sum of the worklogs of all the members of "jira-users" on issue PRJ-32: 4d 5h.
Example 2
getTimeSpent("PRJ-32", "testuser");
Returns: The sum of the worklogs of the user "testuser" on issue PRJ-32: 2h.
See also
Peacock
, multiple selections available,
Related content
getTimeSpent
getTimeSpent
More like this
getTimeSpent
getTimeSpent
More like this
getTimeSpentForUser
getTimeSpentForUser
More like this
getTimeSpentForUserPerDay
getTimeSpentForUserPerDay
More like this
getWorklogLoggedHours
getWorklogLoggedHours
More like this
11. Time with Assignee Report - 6.5.7
11. Time with Assignee Report - 6.5.7
More like this