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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.