Issue/comment creation from email

Filip Stefanov June 13, 2017

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:

JIRA.12421.1496872428283@ip-10-0-0-49

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

Im aware of:

https://jira.atlassian.com/browse/JRASERVER-43397

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
Nic Brough -Adaptavist-
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
June 14, 2017

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.

Filip Stefanov June 15, 2017

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

For example:

References: <834226006731356@my.domain.com>

Suggest an answer

Log in or Sign up to answer