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

How to sum Task and Sub-task Time Tracking under the Epic

Dave W August 22, 2021

We're using Jira Work Management on Cloud and we need to be able to see the sum of Task and sub-task Time Tracking against the Epic level.

We can see the sub-task time tracking against the task, but it's crucial that we also see it at Epic level.

Does anyone have any ideas without buying an add-on??

Thanks.

3 answers

0 votes
Garudachalam.Acharyulu
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
June 20, 2022

well.. lot of members and articles suggests its not possible .. but its possible just by using JIRA automation rules. Ofcourse, had to experiment enough and there is not much help available in Google too. 

create four separate rules for original estimate and timespent. 

Rule-1:  Original estimate is easier one.. create a rule to sum-up original estiamte of all subtasks at Story level (lot of articles available). 

Rule-2: Create another rule to sum-up original estimate of all the Stories under an epic to Epic.. JIRA_Origina_estimate.JPG

 

Rule-3: Just check-in the tickbox 'Include subtasks" in Time tracking at Story level, which by default ensures sum-up all subtasks time tracking to Story level (default function of JIRA) 

 

Rule-4: Create another rule to sum-up timespent from Story level to Epic level.. this is tricky and most complex one ..

  1. go to rule details - enable Allow rule trigger so that this rule runs after running above rules 
  2. I have created a schedule to update, indeed, you can change the trigger the way you wish.. 
  3. attached is the screen shot to update worklog of timespent.. it will allow only 'add'. so, you need to read the current value of timespent at Epic and deduct it while summing up the entire timespent at story level.. so that it adds up and at the same time, it deducts the existing value to get desired output 
  4. it was divided by 3600 as my JIRA default value is in hrs.. check the default value and change the denominator accordingly. jira_timespent.JPG
Saravanan Nallasamy
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
September 21, 2023

Hello, I am getting an error as below. There was an error executing a search during custom value definition when I follow your steps. Any help possible?

0 votes
Darryl Lee
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
August 23, 2021

Actually though, I think you should be able to do this with Automation - if you create a Custom Field for "Logged Sum" that is read-only and modified by a rule.

https://community.atlassian.com/t5/Automation-articles/How-to-sum-up-logged-hours-using-automation-in-Jira-Cloud/ba-p/1409115

Although with all the discussion there, I'm not sure it's as easy as I'm making it sound. :-}

 

Paging @Bill Sheboy, did you ever figure out if it would work summing up fields from Stories based on {{fieldChange}} values?

Bill Sheboy
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
August 23, 2021

Hi @Darryl Lee 

No, I didn't, and...

It appears a few people got this to work from that linked post's information while others did not.  The challenge I noted was when multiple fields change, you need to confirm which field you are summing from the changelog.

Anyway...rather than triggering on field changes, it may be more reliable/possible to use a scheduled trigger and get the data from the REST API as a source.  I currently do not have a use case for this and am not actively working on it.

Best regards,
Bill

0 votes
Kevin Johnson
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
August 23, 2021

Hi Dave,

"It is not possible to achieve this feature using only JIRA inbuilt features"

This was a reply from Atlassian team that I have found. Also linking the same for you reference to other add-ons in that ticket. Hope this helps.

https://community.atlassian.com/t5/Jira-questions/How-to-include-time-tracking-epic-and-story-and-task/qaq-p/1087001 

Regards,

Kevin

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events