Issue from email - associate part of subject line with Issue Key

I am working with a third-party system that generates incident report emails that contain an incident number within the subject line, and this incident number is used for all reports pertaining to a given incident (warning, critical, resolved).

The subject lines are generated like so:
Warning(Critical): Device X - Incident Y Reported: Incident Description
OR:
Device X - Incident Y Resolved: Incident Description


Is there any way I can have JIRA track the "Device X - Incident Y" part of the subject line so that only one issue key is created, and close the issue when the subject line denotes that the issue is resolved?

2 answers

1 accepted

0 votes
Accepted answer

None as you are on OnDemand. Otherwise you could have written a custom email handler - https://developer.atlassian.com/display/JIRADEV/Plugin+Tutorial+-+Writing+a+Custom+Message+(Mail)+Handler+for+JIRA

(I am assuming that the Device X - Incident Y has nothing to do with the JIRA issue keys and you required a kind of mapping between this string and an actual JIRA issue)

That's pretty much waht I figured. And yes, you are correct, the Device X - Incident Y syntax is generated by the external system with which I am interfacing. I've been reading up on writing a custom message handler, but suspected I might run into a problem since we are using the on-demand platform. Looks like I'm going to have to code a custom pre-processing solution. Thanks for the swift reply!

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Oct 16, 2018 in Jira

Looking for anyone who made the switch to Data Center

The Jira Marketing team is putting together an ebook on migrating to Data Center. We're looking for pro tips on how you staffed your project team and organized your Proof of Concept. Share yo...

1,388 views 17 10
Join discussion

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