-
Suggestion
-
Resolution: Unresolved
-
None
-
5
-
Summary
Automation functions don't work on the Assets attributes.
The math functions don't work on the Assets object and field Integer attributes:
Steps to Reproduce
- Add an Integer attribute to one of the object types and set a value for an object
- Create an automation rule that multiplies the amount by 10
Expected Results
Able to use the math function multiply:
{{issue.AssetsCustomFieldName.AttributeName.multiply(10)}} OR {{object.AttributeName.AttributeName.multiply(10)}}
Actual Results
The math functions don't work on the Assets Integer attributes. The below smart value is empty:
{{issue.AssetsCustomFieldName.AttributeName.multiply(10)}} {{issue.AssetsCustomFieldName.AttributeName.asNumber}}
While the below smart value returns the date:
{{issue.AssetsCustomFieldName.AttributeName}}
Workaround
The following knowledge base article details workarounds for this bug as well as other automation functions impacted in a similar way: Workaround for using smart value functions with Assets data in Automations
An example use of the workaround mentioned in the article:
- Create a variable "amount" to store the amount value:
{{issue.AssetsCustomFieldName.AttributeName}}
- Then use the below functions on the variable name:
{{amount.asNumber.multiply(10)}}
- is related to
-
JSDCLOUD-10177 Automation smart value date time functions do not work on the Assets date time attributes
- Closed