Using the Jira cloud REST API, how can I get the total logged time for one issue i.e. the sum of all the individual work logs?
If I browse an issue on the web, this is shown in the Time tracking section as a value for the 'Logged' field.
Chris, you'd want to use the end point /rest/api/3/issue/{issueIdOrKey}.The field that you are looking for is called "timeSpent". It is located inside of the "fields" object.Thanks,Kian
Perfect, many thanks.
It looks like you're new here. Sign in or register to get started.