I was trying to follow tutorial presented here:
https://www.atlassian.com/software/jira/automation-template-library/sum-up-story-points
However this fails for me. I suspect that relation between Epic and Story is not a subtask in:
{{issue.subtasks.Story Points.sum}}
Above prints 0 as if there were no child under Epic.
When I try to apply rule for relation of Story - Sub-task it works all good.
However for Epic - Stories it does not work. Can you please help me on how to automate update of Epic total Story points when SP value of child Story is edited?
@Piotr Gilert: You can find a video tutorial here that is similar to what Bill has shared earlier. It provides you with various rules to keep the story points under an Epic in sync.
Link: https://youtu.be/PROcxEOMyGM
Thanks.
Hello @Piotr Gilert
Try this instead
The code they have for the final Edit is also not right for summing story points to the parent epic, so you'll have to work out the change for that also. Let us know if you need help with that.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks for your answer. This is exactly where I'm stuck.
I am not able to proceed on the level of
"Then: Edit issue fields"
as the formula {{issue.subtasks.Story Points.sum}} does not work.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
One thing to consider is when you want to sum the story points for the children of the epic. What problem are you trying to solve, as that may influence the "when"?
If you always want the epic to always contain the total from the stories, regardless of when they are changed or which ones are sized, you could do this to replace the epic's field value:
{{#=}}{{lookupIssues.Story Points.sum}} + {{triggerIssue.Story Points|0}}{{/}}
Note in a rule triggered by an issue, I believe any JQL excludes the triggering issue, which is why you add that value to the results of the Lookup Issues. Please check my work if that is incorrect.
Best regards,
Bill
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Good guidance, but for me I needed to change Lookup a bit and formula a bit to make summarizing work.
Now this flow requires that one assign epic manually to the story so if this could be automated via linkage etc that would be good. Any guidance would be appreciated.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
As this is a very old thread, I recommend creating a new question and linking back to this thread. Otherwise only people following this one will see it.
When you post your question, please...
Those will provide more context for the community to offer suggestions. Thanks!
Kind regards,
Bill
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.