Hi!
I have a dropdown customfield where all fields are in the format "Some value [custom ID]".
When running an automation rule, I need to get just the custom ID part of the customfield.
If I just print the customfield, it works, but if I add any smart value functions to it, I just get a blank text
The below is what should be correct to get the custom ID part:
{{issue.customfield_NNNNN.match("(\[.*?\])").get(0).substring(1,-1)}}
On a similar topic, there aren't any dropdown options where I can show a text with a corresponding hidden value in jira?