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:

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

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: <834226006731356@my.domain.com>

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Mar 05, 2018 in Jira Software

Jack Graves: Real Ale enthusiast with a knack for Jira Software implementation

@Jack Graves [AC] first caught our eye with his incredible breakdown of what, in his opinion, can make or break a Jira software implementation. (Read his thoughts on this thread)! In this follow...

96,844 views 4 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