Hi @Tamir Melamed ,
You should use:
{{#=}}{{issue.subtasks.Story Points.sum}} {{/}}
Otherwise you get a string like "4+13+7" which does not compute.
A math expression wraps the original question's use of join() and so that will work...unless there are other problems.
And, when using the sum function the math expression wrapper is not needed. Instead that would be just {{issue.subtasks.Story points.sum}}
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Context is important for automation rule questions...
Please post an image of your complete automation rule, images of any relevant actions / conditions / branches, an image of the audit log details showing the rule execution, and explain what is not working as expected. Those will provide context for the community to offer ideas. Thanks!
Until we see those...
The JSON expression you show could have several problems, or it could work as written, depending upon how it is used in a rule. Some likely causes of problems are:
Smart values are name, spacing, and case-sensitive. When an incorrect smart value is used, it often is replaced with null, and may show no or unusual errors. The smart value for the story points field is "Story points" for a company-managed project...
Are you using a company-managed or a team-managed project? You may find this information at the bottom-left of the screen expanding area. Company-managed projects use the {{issue.Story points}} smart value and team-managed projects use {{issue.Story point estimate}}
Do all of the subtasks have a value for the field? If they do not, when the math expression is processed it can create null values between the plus signs.
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.