Mail handler creating issues instead of comments


Having some trouble with the create issue or comment mail handler.

Occasionally, Jira creates a new issue instead of adding a comment for each reply in the email thread. The result is duplicate issues of the format "Re: [subject line here]", each containing the entire email thread up until that point in the description.

Upon examination of the email headers, it seems the message-id is getting cut off in the in-reply-to field. In-reply-to only contains the second half of the original message-id (that or the original message-id is getting irrelevant stuff tacked on to the front). Jira looks at this and thinks it hasn't seen this email before, and so creates a new issue for it instead of adding a comment.

Has anyone seen this before or know what might be causing it? Is this an email software problem?

2 answers

New developments:

Discovered that I can reproduce the issue by replying to someone who sent an email to our jira project's email address, and cc'ing the project's address (instead of putting both in "to"). Some users/their mail clients are doing this when emailing about issues.

However, it has also happened even when putting both addresses in the "to" field.

Can you paste some examples of the broken headers, what mail clients are doing this?

Default handlers in JIRA wont be able to fix this, but JEMH has hooks for custom low-level fix-ups for things like this (to be clear, a solution for the problem you see doesnt exit, but could).

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Jan 08, 2019 in Jira

How to Jira for designers

I’m a designer on the Jira team. For a long time, I’ve fielded questions from other designers about how they should be using Jira Software with their design team. I’ve also heard feedback from other ...

1,232 views 5 10
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