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: 

How can I set a field with an email address based on another field that has a full name

Akram Rajwani
March 6, 2024

I have a Jira team managed project. On issue creation, I'd like to set an Email address custom field automatically by converting a text value from another Preferred Name custom field. The caveat is that Preferred Name can be "First Last" or "First Middle Last", but id only want the email address to take the First and Last to create this: first.last@company.com. 

 

Would appreciate assistance.

1 answer

1 accepted

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

0 votes
Answer accepted
Hariharan Iyer
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
March 6, 2024

Hi @Akram Rajwani ,

 

You can do something like this

{{issue.summary.split(" ").first}}.{{issue.summary.split(" ").last}}@company.com

Here I used summary as an example, but you can replace that with your custom field.

Hope that helps!

Akram Rajwani
March 7, 2024

This worked perfectly! Thank you so much for your help!

DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events