Merge Issues by E-Mail-Subject

Dear community,

we are using JEMH and are quite satisfied with. We use it to create issues from mails send by our application in case of system-crash. Because the users retry the crashed feature in the application, we get several mails with the same subject containing the error-code. Is it possible to append these mails as a comment to an existing issue having the same subject or something like this?

Greetings from Hamburg, Germany

Jan Christian

2 answers

1 accepted

This widget could not be displayed.

Hi Jan,

One of the more advanced Field Processors that are responsible for processing incoming mail into a common format for JEMH use is the Regexp Field Processor. With this feature, it is possible to locate within an incoming email, an ID that is unique to the 'conversation/usse/case/etc' of a remote system. With such an ID, JEMH Regexp Field Processor can store that value in a custom field. New emails (even duplicates) that contain the same ID would then be added to the first issue found with that (unique) value.

There is a tutorial available at:

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

If you do not have a unique ID and only have a basic text subject, this isn't currently handled, I did once implement a subject matching feature but the use and effectiveness of that feature was surpassed by JIRA 5.2.3 Mail Thread management, so it was dropped. If it is still a desired feature, please log a request at JEMH Jira and I'll get to it when I can.

This widget could not be displayed.

Could you not solve this problem in your application?

If an email for this problem has been sent less than a specific time ago, don't send a new email?

Just wondering.

Hi Peter,

thanks for your reply. We already thought about this approach. But we believe that this solution would be very time expensive. But even if this would be possible, we won't solve the problem. Every possible time slot we define would end somewhen and then we will recieve another mail producing another duplicate JIRA-issue. This is why we thought about a "merging-approach" in JEMH.


Greetings from Hamburg

Jan Christian

JEMH could get smarter than just appending a comment, it could check the last comment, body, and if found to be the same, ignore it...

Hi Andy,

I followed the tutorial you mentioned. And as you said, for each equal mail a new comment is added to the issue. How do I configure JEMH to identify same comments and ignore these mails?

Greetings


Jan Christian

[EDIT]

I am sorry. I think this is a new question. So I opened a new topic at https://answers.atlassian.com/questions/207517/mail-2-issue-attach-a-new-comment-only-when-neccessary.

[/EDIT]

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Aug 22, 2018 in Marketplace Apps

How a Marketplace app tech team is achieving gender diversity

Hello! My name is Genevieve Blanch, and I'm the Marketing Manager at RefinedWiki, creators of apps to give teams the tools to customize Atlassian platforms. Currently, 44% of the tech team at Re...

516 views 3 18
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