How does email handler update correct Jira Service Desk tickets?

With normal email notifications, the subject of the email includes the issue id in square brackets (ie, [ABC-132]). I've noticed that email notifications from Jira Service Desk don't include this, but instead have the name of the service desk in square brackets. Yet when the user replies to the email, the Jira email handler is still able to add the reply as a comment to the correct ticket.

I'd like to better understand what it's doing to map the email reply to the correct ticket so I can have confidence in how it works.

Thanks,
Andrew

2 answers

1 accepted

This widget could not be displayed.

Andrew,

JIRA's email handlers use a number of different things to correlate email back to issues. Standard email headers are the first line of defense—it uses the In-Reply-To and References headers defined in RFC2822. If those aren't present or don't map to an issue then it looks in the subject for an issue key.

Hope this helps,

Justus

JIRA Service Desk

Thanks Justus. Do you know if this process is documented anywhere? I'd like to better understand it.

This widget could not be displayed.

Andrew,

No, it isn't documented anywhere that I'm aware of. The best I can offer is that the source code is available to everyone with a full license of Atlassian products and the code is in the AbstractMessageHandler.

Justus

JIRA Service Desk

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Aug 13, 2018 in Jira Service Desk

Jira Service Desk – Don’t be afraid, the journey begins with curiosity!

...be more productive while being fun to use at the same time. For some, getting started can be a bit intimidating. This is especially true if Jira Service Desk is your first exposure to Atlassian...

8,677 views 9 28
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