Incoming mail server on jira (with LDAP)

Rahul Aich [Nagra]
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
January 1, 2014

Hi

We are planning to set up incoming mail server to automatically log issues on jira from emails coming in.

Our instance is 90% LDAP authenticated. (jiRA 5.0)

My question is say a user Bob Wills with email address bob.wills@abc.comsends an email, will JIRA be able to correctly assign the reporter as bwills (his ldap username) just from the email address bob.wills@abc.com?

Rahul

3 answers

1 accepted

0 votes
Answer accepted
Andy Brook [Plugin People]
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
January 2, 2014

As above, yes JIRA will do that, if you have one single email address per user, but if you have alias email addresses it will not always work.

JEMH has extended LDAP support to allow proxyAddress (Active Directory case) resolution to a common user. A common problem is when mail is inbound 'from' a different address that is attributed to the same user. Default mail handler will blindly create new users or fail to create the issue at all. JEMH can correlate different sender addresses to a common JIRA user, or for creation purposes, use the Primary mail account for the related user.

0 votes
Aseem Parikh
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
January 1, 2014

Yes, JIRA will attempt to match the email address of the sender to any user it is aware of. If it's unable to make a match, issue creation will fail or the default reporter will be used -- depending on how you set up your mail handler.

Rahul Aich [Nagra]
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
January 5, 2014

Thanks Aseem

0 votes
Michael Simon
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
January 1, 2014

Yes as long as Bob has an id already in JIRA. JIRA uses the email From address and matches it to the user directories to determine the uid to use. If the user hasn't been copied down to JIRA yet I'm not sure if it will query LDAP or not... Would have to play around with that. (In development).

Rahul Aich [Nagra]
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
January 5, 2014

Thanks Michael, that answers my question

Suggest an answer

Log in or Sign up to answer