Hello,
I'm looking for a groovy script that can give average cycle time of a story in an epic.
for instance, if an epic has a story and it closed in 2 hrs, the average cycle time will be 2 hrs.
if an epic has two stories and one closed in 1 hr and another one closed in 3 hrs, the average cycle time will be different.
any help would be appreciated.
Note: we already have two scripted fields one gives the total cycle time of an issue and another one gives the number of issues in an epic.