JEMH - Not updating exist ticket and keep create new tickets

Hello ,

Im using JEHM to create ticket through email handler , ive few problems here need some help :

1 - when ever new ticket created by email and same user sent replay with same subject like

"Re: fix pc please " its create new issue and not update the exsiting one ? can you help me with fixing this ?

2- I need to strip off part of the email subject everytime i process new email to update or create new issue

like i need to use regex to strip off Ticket00XX" from the subject , then match the rest of subject if its exist then update the ticket else create new ticket

how can fix these 2 issues

Best Regards

1 answer

Hi Mohammed,

Probably easier to log a support ticket @ https://thepluginpeople.atlassian.net/browse/JEMHto get targetted support like this, will offer some quick advice, if that doesnt help, please do so, and provide Profile XML, and Test Case email export (JEMH audit history has an export option for each received email).

You dont say what JIRA / JEMH version you have, it helps to know?

1 - when ever new ticket created by email and same user sent replay with same subject like

"Re: fix pc please " its create new issue and not update the exsiting one ? can you help me with fixing this ?

Subject matching is not used by JEMH for thread association. Primarily an issue key in the subject is used, secondarily JIRA mail threading will be used, where replies to 'an original' message.

2- I need to strip off part of the email subject everytime i process new email to update or create new issue

like i need to use regex to strip off Ticket00XX" from the subject , then match the rest of subject if its exist then update the ticket else create new ticket

The subject of the email doesnt get used for comments attributed to a common JIRA issue? It almost sounds like you have a remote system ID of format Ticket00XX that is foreign to JIRA, you want to correlate incoming emails with that ID to an initial JIRA issue? This is a case handled by the Regexp Field Processor:

- https://thepluginpeople.atlassian.net/wiki/display/JEMH/Use+Regexp+Field+Processor

This uses a regexp (as you may have guessed) on the subject/body to pick out a unqiue identifier that will be stored in a nominated custom field on create (when no other open issue has that id) subsequent emails with the same id get added as comments (for which, the subject text is not used, only the body content).

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted 13 hours ago in Featured Groups

Are you managing your users efficiently?

Hi everyone, I am Marek, a Senior Product Manager for Crowd   Server and Data Center   here at Atlassian. I would like to spark a discussion about challenges you have with managing use...

86 views 1 2
View post

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