Our clients have 2 aliases/domain for their email.
user@ad.org
user@non-ad.org
@ad.org is used through active directory.
@non-ad.org is used when they send tickets through the emails. - problem.
So our problem is that, we are getting duplicated users and would like to merge both aliases when issue is created.
Users with @non-ad.org aren't really needed, users with @ad.org has most of the info we need.
So, is there a way to rename incoming reporter's email address so it can map the issue to the Active Directory users when issue is created by the email using @non-ad.org
Or something along those lines.
Any suggestions are welcome.
Dear @zunairf,
by default you have no chance. Jira Software tries to map the users based on the email address of the sender.
Possible solution: Post clean up. Some scripts that can replace the senders email address.
Other solution: a plugin, that gives you more options on Email Handling.
So long
Thomas
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
It's great to see ton of documentation around creating plugins.
https://developer.atlassian.com/server/jira/platform/creating-a-custom-mail-handler-for-jira/
I'll reply back if I succeed in this project.
Thanks
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Is there a way to get the source code of one of the default mail handlers specifically the one called 'Create a new issue or add a comment to an existing issue' ?
Thanks
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello, @zunairf
Could you be more specific for how you accomplished the change reporter's email address with the help of SmartHandler plugin?
That info would be really useful in our situation.
Thanks!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
basically SmartHandler can map usernames based on the incoming mail.
so if username already exist then you can use the incoming email address, parse out the username then map to existing user.
our users are created using the AD.
at the end we ended up not using the plugin because something broke the workflow scripts - might work better now with all their updates.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
currently we use a script so when ticket it created... it goes through reporters and participants and looks for existing users n replaces them.
comments are still messed up - uses incoming email as the author.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@zunairf Thank You for your reply! It's really helpful.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.