I'm trying to use an automation to set an issue label to an extracted string from another custom field.
I'm trying to set it as a smartvalue, when I test this: {{fields.cf[10358]}} it provides me with the complete string.
But the issue is it has spaces in it so cannot be set as a label. When I try any of the following it returns the smartvalue as completely blank!
{{fields.cf[10358].substring(5,10)}}
{{fields.customfield_10358.trim()}}
{{fields.customfield_10358.replace(" ","_")}}
{{fields.customfield_10358.format(“#”).substring(5,10)}}
Any suggestions?