How to get an aggregated time in the epic by Jira API

ssavvidis December 14, 2022

There is a field "aggregateprogress " in the returned JSON object from API which probably should show all aggregated time from worklogs of tasks and subtasks of tasks, but it doesn't. Calculates only children's tasks without them subtasks.

How is possible to get or calculate the aggregated time?

1 answer

1 accepted

0 votes
Answer accepted
Bill Sheboy
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
December 14, 2022

Hi @ssavvidis 

What have you tried thus far to solve this?

As you are apparently calling the REST API, and you seem to understand the issue structure, couldn't you first gather the child issues of the epic, and then sum the results from the linked subtasks also using the REST API?

If you doing this from inside of Jira, I believe this could also be done using an automation rule as the subtask information is available to the child issues as you iterate over them.

Kind regards,
Bill

ssavvidis December 14, 2022

Hello, thank you for your reply.

I solved the issue. With jql request, I collected children's tasks and sum the result as you prefer.

Like Bill Sheboy likes this

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
TAGS
AUG Leaders

Atlassian Community Events