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

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

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Nov 27, 2018 in Portfolio for Jira

Introducing a new planning experience in Portfolio for Jira (Server/DC)

In the past, Portfolio for Jira required a high degree of detail–foresight that was unrealistic for many businesses to   have–in   order to produce a reliable long-term roadmap. We're tur...

2,397 views 15 19
Read article

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