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 Join to answer
Community showcase
Teodora [Botron]
Published Thursday in Marketplace Apps

Jira Inferno: The Nine Circles of Jira Administration Hell

If you spend enough time as a Jira admin - whether you are managing a single, mid-sized instance, a large enterprise one or juggling multiple instances at once - you will eventually find yourself in ...

432 views 1 14
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
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