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

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.

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
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Published Mar 09, 2018 in Jira Service Desk

E.L. Fridge's take on education, Jira Service Desk, and creative Jira use cases

...word of mouth, so by 2016, we were working with several other entities on campus to implement Jira Service Desk . The Atlassian motto of “for every team” has really come true for us in this case. We...

1,240 views 2 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