Hi,
I have a Jira Cloud Automation rule that should automatically calculate the sum of Story Points of all child issues and update the Parent issue.
The rule is configured as follows:

The rule works correctly in most cases. However, in some cases the Story Points value in the Parent issue is unexpectedly changed to 0.
I suspect that sometimes <span>{{lookupIssues.Story Points.sum}}</span> returns an empty value, and Jira Automation interprets it as <span>0</span>.
I also tried using:
<span>{
"fields": {
"Story Points": {{lookupIssues.Story Points.sum|0}}
}
}</span>but I would like to understand the root cause.

Any advice would be appreciated.