How JIRA Updates Issues from Email

Hello,

I would like to know how does Jira (version 4.2.4) link up to existing issue with incoming email if the email subject didn't contain the issue key.

Found that: JIRA will inspect the header of the mail to find the "In-Reply-To" value, then attempts to link it to the message.

Does anyone can explain in detail how it works?

Thank you!!


2 answers

0 votes

The JIRA mail handlers at all times require an issue-key in the subject in order for a comment to that issue to get added. If no issue-key is present, a new issue will get created (assuming a mail handler has been configured to create new issues as well).

Though I am not exactly certain, I believe the JIRA Enterprise Mail Handler might have additional funcitonality which could enable issue commenting where the issue-key is absent from the subject. I would expect the issue key requires to be present anywhere else in the mail in order for JEMH to be able to process it. JEHM however is a 3rd party plugin, please refer to their documentation and/or developer for more details on this.

Thank Mick. Knowing that JEMH might be able to help but we would not considering it at the moment for some reason.

I am asking this question because we found that even the issue-key is absent, most of the email is able to meger into the original issue as a comment , however, not 100%. So I would like to know exactly how's it works. Might not need a workaround at this stage, but I have to explain to user why it works sometime but sometime didn't.

There should be something related to "in-reply-to" helps to link up the issue

https://confluence.atlassian.com/display/JIRAKB/How+JIRA+Updates+Issues+from+Email

Anybody can help? Thank you.

Anybody can explain how it works exactly about the "In-Reply-To" part mentioned in the link below?

https://confluence.atlassian.com/display/JIRAKB/How+JIRA+Updates+Issues+from+Email

Suggest an answer

Log in or Join to answer
Community showcase
Sarah Schuster
Posted Jan 29, 2018 in Jira

What are common themes you've seen across successful & failed Jira Software implementations?

Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...

2,789 views 11 18
Join discussion

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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot