Hi,
I'm using Script Runner to calculate the total estimate, remaining work and total time spent of all issues and subtasks related to an epic.
JQL is working fine
issuefunction in subtasksOf("'Epic Link' = ABC-1") OR "Epic Link" = ABC-1 AND issueFunction in aggregateExpression("Total Estimate for all Issues", "originalEstimate.sum()", "Remaining Estimate for all Issues", "remainingEstimate.sum()", "Total Time spent", "timespent.sum()")and results in an alert box when executing the search showing all my times.
Problem / Challenge:
I want to create 3 custom fields for all my epics dynamically calculating and showing the times for all issues and subtasks in it.
I'm looking forward to hints & tips! Thanks!
Anja