How to find Total Remaining time for an issue and all its child issues?

Hi, 
JIRA Version: 7.2.6


How can I find the total time remaining for an issue and all its child issues? 

For e.g. If an issue (parent) has a Remaining Time of 5 days and its subtask (child) has remaining time of 2 days, then I want a field displaying 7 (5+2) displaying in the view issue screen of Parent issue. 

Capture.PNG

 

Similarly, if an issues has multiple linked issues with it, I want a field displaying total remaining time off all the issue and combined in the parent issue. 

 

I'm currenlty looking into Scripted Fields in Script Runner but I couldnt find any specific script for this purpose. 
Can anyone please help me out? 

 

Many Thanks. 

1 answer

This widget could not be displayed.

@Jamie Echlin [Adaptavist] could you please help me out with this script? 

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Tuesday in Jira

What modern development practices are at the heart of how your team delivers software?

Hey Community mates! Claire here from the Software Product Marketing team. We all know software development changes rapidly, and it's often tough to keep up. But from our research, we've found the h...

172 views 1 3
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you