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?