How JIRA Updates Issues from Email


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

Anybody can help? Thank you.

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

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,378 views 15 19
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