Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

JMWE error "expected a number but got" on a sum() event-based calculation.

Sally Wheeler
July 14, 2022

I am new to using JMWE and I probably have the syntax incorrect but I cannot figure out what is wrong.

I have an issue type named shipment in which a number field is entered with the number of samples in that shipment.

This issue type is under an epic.

I would like a total number of samples field to be shown on the epic view screen where it is continually updated every time the number of samples field is updated in any shipment for the epic.

This is what I did. But the field still says None. I even went to a shipment and switched a number and switched it back to hopefully trigger the calculation and still nothing. Can you help to clarify what I am misunderstanding? The error it states: "expected a number but got: | sum({issue.fields.customfield_10083})"

image.png

 

1 answer

1 accepted

0 votes
Answer accepted
Nic Brough -Adaptavist-
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Champions.
January 19, 2014

"remote server" implies Crowd is not responding to Jira's requests for user information.

You'll need to read the Jira and Crowd logs to find out what the problem is.

Suggest an answer

Log in or Sign up to answer