I've Field 'A' of single select drop down with values -
One
Two
Three
Four
I'm trying to write automation logic which will update another number field 'B' to a number corresponding to value of field 'A'. However seems I'm missing something to make it work correctly, none of the following expression syntax working for me -
{{issue.A.replace("Four",4).replace("Three",3).replace("Two",2).replace("One",1).asNumber}}
{{issue.A.replace("Four","4").replace("Three","3").replace("Two","2").replace("One","1").asNumber}}
Appreciate any help with this.