Question with replacing email addresses text

Jonathan April 24, 2023

Hello,

 

In the Service Desk that we operate from, we have a select set of reporters, who's email updates are being sent to the wrong email address. We are trying to replace their email after the @, using {{reporter.emailAddress.replace("Example.com", "Example.nl"), but we are also trying to create a removal of every character, but the first one (in this case first letter) and use that alongside the .replace method.

 

I was thinking of the following {{reporter.emailAddress.replace("example, "example.nl").charAt(0)}}, but ofcourse that does not work.

I was wondering if anyone can assist me on finding a solution to this issue

1 answer

0 votes
Brant Schroeder
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
August 15, 2023

@Jonathan welcome to the Atlassian community

Why don't you just update their email addresses in the system so they go to the right address?

Suggest an answer

Log in or Sign up to answer