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 vote

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 Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Julia Dillon
Posted Apr 17, 2018 in Jira

Tell us how your team runs on Jira!

Hey Atlassian Community! Today we are launching a bunch of customer stories about the amazing work teams, like Dropbox and Twilio, are doing with Jira. You can check out the stories here. The thi...

809 views 2 19
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