Issue/comment creation from email

According to the documentation:

If an issue key is NOT found in the subject, the in-reply-to header  is examined:

  • If the email message is found to be a reply to another email message from which an issue was previously created, the body is processed and added as a comment to that issue.
  • If the email message is NOT found to be a reply, a new issue is created.

How Jira understand from in-reply-to header that issue was previously created?

The header looks like:


So this string 12421 is paired to the new issue durring creation in the database?

Im aware of:

And in my logs i see:

Caesium-1-1 ERROR anonymous    Test [c.a.jira.mail.MailThreadManagerImpl] Unable to parse incoming In-Reply-To header <JIRA.12421.1496872428283@ip-10-0-0-49>

Is there a way to add comment to existing jira if issue number  is missing from the subject line?


1 answer

0 votes

No, JIRA needs to know what the issue is in order to create a comment on it.  As the "reply to" code is currently broken (as per the bug report you've found), the only other thing it can do is look for the issue number.

I figured out that some In-Reply-To/Reference headers are parsed properly!

For example:

References: <>

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Feb 26, 2019 in Jira Software

How to prevent the propagation of unused project schemes, workflows & screens in Jira software

Atlassian ranks project attributes as the third most important factor impacting performance in the category of data. It’s not surprising, since project attributes are precisely the rules used to ma...

656 views 0 7
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