Forums

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

Select list of numerics cannot use sum function in Smart Values formula

Robert Brend September 16, 2021

I am trying to create an automation task that sums the values in a custom field in sub tasks and then adds them to the parent ticket. 

This is pretty straight forward if the custom field is a numeric, however I want to use a select list as only want specific numbers to be picked.

{{issue.subtasks.customfield_1057.sum}} only seems to work if the value is a numeric. Is there a way around this? can I do some form of type conversion on the value in the custom field to enable the sum function to work?

1 answer

1 accepted

2 votes
Answer accepted
Kamil Blicharski
Contributor
September 16, 2021

To get a value from a single pick list use {{issue."customfield_1057".value}}, for a cascading list {{issue."customfield_1057".child.value}}

Robert Brend September 16, 2021

Perfect this worked and saved me a lot of messing around, thank you.

Suggest an answer

Log in or Sign up to answer