The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Question with replacing email addresses text

Jonathan
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
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

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

0 votes
Brant Schroeder
Community Champion
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?