I am hoping someone can tell/show me what I am doing wrong.
I'm trying to automate a sprint completed report to send out an email to stakeholders when a sprint is completed and I am getting the following errors on the variables I created.
Create variable Q Error rendering smart-values when executing this rule: Missing parameter(s) for operator +: 3+
And this is what I put in the Variable name and smart value Variable name : TotalJiraCount Smart Value: {{#=}}{{NotCompletedJiraCount}}+{{CompletedJiraCount}}{{/}}
Error rendering smart-values when executing this rule: Unknown unary operator / at character position 7: ROUND(/12.0*100,0)
Error rendering smart-values when executing this rule: Unknown unary operator * at character position 10: ROUND( 0/*100,0)
Thanks in advance for your help
Hello @Rania Haddadin
Whenever asking for help with an automation rule it is vital that you share screen images that show your entire automation rule and the details of the steps that are not working as you expect. It is difficult for us to help you without that information.
Also let us know your deployment type. Are you working with Jira Data Center or Jira Cloud.
Based on the information you provided, it appears that you are trying to use other smart values in your variable creations but the smart values you are trying to use have no value
The last error
Error rendering smart-values when executing this rule: Unknown unary operator * at character position 10: ROUND( 0/*100,0)
Variable name and smart value is Variable name : Sprintchurn Smart Value: {{#=}}ROUND( {{AddedJiraCount|0}} / {{TotalJiraCount}} * 100,0) {{/}}
Create variable Q Error rendering smart-values when executing this rule: Missing parameter(s) for operator +: 3+
And this is what I put in the Variable name and smart value Variable name : TotalJiraCount Smart Value: {{#=}}{{NotCompletedJiraCount}}+{{CompletedJiraCount}}{{/}}
In this error it is indicating there is no value determined after the "+". There you are referencing the smart value {{CompletedJiraCount}}. Assuming that is another variable, you need to look at how that variable is created.
The error you mentioned in the middle is
Error rendering smart-values when executing this rule: Unknown unary operator / at character position 7: ROUND(/12.0*100,0)
Variable name and smart value is Variable name : Predictability Smart Value: {{#=}}ROUND({{CompletedSPs}} / {{CommittedSps}} * 100,0) {{/}}
These variables may have no value because they are not in the proper context when you are trying to use them. Or the steps where you are trying to create them are not valid. We can determine that only by seeing the entire rule.
Adding to Trudy's suggestions:
The errors you describe indicate your created variables are empty (or incorrectly defined) in the rule. Please also include images of the actions where you define those variables.
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.
Hello @Rania Haddadin
We need to see screen images that show the flow of steps in your rule, like this example:
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Smart values are name, spacing, and case-sensitive. I note several in your actions, rule image, and the email that appear not to match.
For example: the images show both Sprintchurn and SprintChurn. Those are not the same thing in the rule. Please review all of your variables to confirm they exactly match.
Next, please note the rule uses an experimental REST API endpoint in those Send Web Request actions, and such endpoints are subject to change without notice.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I concur with @Bill Sheboy . The first thing you need to do is make sure that every place you are trying to use a variable you are using the exact name you gave that variable when you created it.
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.