So I'm stepping into an environment where a request has been around for a while to have a URL extracted from the last comment and adding it to a URL custom field.
I've added the custom field (URL Field), I've created an automation that conditions to look for a regex that includes the URL we need (domain.atlassian.net). However I'm running into issues adding an action with a smart value to extract that URL that the condition is checking for.
The condition I'm using a smart value checker to look for a regex pattern in the last comment.
However, in creating the variable I'm trying to use something along the lines of:
{{comment.last.body.match(regexpattern)}}
When I have it update the log, the log is empty.
Any help would be greatly appreciated!