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 vote

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
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published May 21, 2018 in Jira Software

How large do you think Jira Software can grow?

Hi Atlassian Community! My name is Shana, and I’m on the Jira Software team. One of the many reasons this Community exists is to connect you to others on similar product journeys or with comparabl...

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