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 vote
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 Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published yesterday in Jira

5 ways you can make the most of Jira Software and Bitbucket Cloud

As part of the Bitbucket product team I'm always interested in better understanding what kind of impact the use of our tools have on the way you work. In a recent study we conducted of software devel...

31 views 0 4
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