Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,463,507
Community Members
 
Community Events
176
Community Groups

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

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

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

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

Atlassian Community Events