Strip the @ from the reporter when creating user

We have JIRA setup to create the user when an email is sent to the system and the user is already not there, however we would like the user to just be the information before the @ and not the entire email address.

2 answers

1 accepted

0 votes
Accepted answer

Assuming not OnDemand, JEMH 1.3 provides an extension point (Alternate ID provider) and two default implementations (basic email and LDAP), you could write an additional custom selector to use the domain prefix. Though, I would think this problematic, andy@place.com and andy@other.com for example, would you be happy with a 000 .. 001 one-up number added in such a case?

If you're OnDemand, follow Bruno's issue.

0 votes
Bruno Rosa Atlassian Team Jan 24, 2013

Michelle,

I understand what you're trying to do. However, this is the way JIRA works by default and there is no simple way (for instance, via interface) to strip the @ from the reporter when creating the user. If you're using JIRA OnDemand this won't be possible to achieve. But if you're using a JIRA self-hosted instance, the only way I could think to achieve what you're looking for would be customizing your JIRA source files.

Moreover, I think your idea could also turn into a Improvement Request, thus I took the liberty to report this at jira.atlassian.com. It's currently being tracked here:

- https://jira.atlassian.com/browse/JRA-31451

Hope it helps!

Cheers,

Bruno Rosa

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Nov 27, 2018 in Portfolio for Jira

Introducing a new planning experience in Portfolio for Jira (Server/DC)

In the past, Portfolio for Jira required a high degree of detail–foresight that was unrealistic for many businesses to   have–in   order to produce a reliable long-term roadmap. We're tur...

2,766 views 18 21
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you