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

Tayyab Bashir Community Champion Jul 24, 2017

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

0 votes
Tayyab Bashir Community Champion Jul 24, 2017

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

Suggest an answer

Log in or Join to answer
Community showcase
Sarah Schuster
Posted Jan 29, 2018 in Jira

What are common themes you've seen across successful & failed Jira Software implementations?

Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...

2,897 views 12 18
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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot