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.


2 answers

1 accepted


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,


JIRA Service Desk

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


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.


JIRA Service Desk

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Feb 15, 2019 in Jira Service Desk

Are you a Jira Service Desk agent? We want to talk to you!

Are you a whiz at handling tickets and looking at how you can further optimize your workflow with automation? Do you tackle detailed customer support questions while simultaneously getting flooded wi...

177 views 0 8
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