Sum story points for all subtasks

Is it possible to sum all story points for all subtasks and assign it to parent task?
7 comments
Comment actions Permalink
It's possible to implement it using workflow:
rule sum 
 
when Estimate.changed && subtask of.isNotEmpty { 
  var parent = issue.subtask of.first; 
  var sum = 0; 
   
  for each children in parent.parent for { 
    sum = sum + children.Estimate; 
  } 
  parent.Estimate = sum; 
} 
prettyPrint();
0
Comment actions Permalink
That's great.

Still, I suppose that this feature should be built-in for agile projects.
0
Comment actions Permalink
Newbie here. How would i use this as its exactly what i want to do.
0
Comment actions Permalink
The desired workflow is attached to the issue JT-18128. To use it download .zip file, import on the 'workflows' screen in YouTrack and attach to a needed project.
0
Comment actions Permalink
This is great! Many thanks.
0

Please sign in to leave a comment.