"I'm trying to use the smart value {{issue.creator.emailAddress.replace(/@.+$/, '@domain.org')}} in a Jira automation rule to replace the domain of the creator's email address. However, the smart value doesn't seem to be working as expected. I'm using this in a rule triggered by issue creation. Can anyone help me troubleshoot this issue?"
I see this error in audit log
Error rendering smart-values when executing this rule:
Failed to get value for issue.creator.emailAddress.replace(/@.+$/, '
@domain.org'): {{issue.creator.emailAddress.replace(/@.+$/, '
@domain.org')}}