JEMH: send attachments to non JIRA user

Sebastian Baehr January 23, 2015

Hi smile

I hope I'm right here

I just started working on an existing project for a rudimentary helpdesk with JEMH. For the emails sent to a certain support address tickets in a JIRA projects are being created. If I comment on an issue an email is returned to the customer (As far as I understand that happens with the 'Issue commented' field in the event listener settings).

However it would also be required to be able to attach files to an issue and send these with the corresponding comment to the customer.

I was expecting some sort of 'Attachment added' function but didn't find any. Do you know if and how this is possible?

Thanks and regards

Sebastian

3 answers

1 accepted

2 votes
Answer accepted
Andy Brook
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
January 23, 2015

Hi Sebastian, If you use the JIRA UI to 'attach files' and add a comment at the same time, an ISSUE_UPDATED event fires.  You probably only have ISSUE_COMMENTED?

In the non-JIRA Event Listener, set:

Include Attachments in NotificationsON

Result should be what you want, when you have ISSUE_UPDATED enabled?

0 votes
Judy Schneider April 10, 2015

What if I want to send a notification when adding a comment with attachment, but not with other things that generate an ISSUE_UPDATED event?  Don't want my users getting an email every time that someone changes some little detail in the issue.

Andy Brook
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
April 10, 2015

A feature added in 1.7.x is to (a) require comments to be present to notify (at all), and (b) to treat any event with a comment as EventX. What this means is that you can: a) remove ISSUE_UPDATED notifications relating to field level changes b) include ISSUE_UPDATED events only where a comment is made c) simplify template management, treating any event as (for example) ISSUE_COMMENTED You'll need JIRA 6.4 for that

Dawn Fama July 20, 2016

I think I have this set correctly but when ad-hoc comment is used to add comment and send attachment, the external non-JIRA user is receiving 2 commented notification.  One appears to be from JEMH ad-hoc and the other from JIRA.  I would like to have the option to use JIRA to add comments if there is no attachment and if I need to send attachment use JEMH, but I don't want them receiving 2 notifications.  I also do not want to enable JIRA updates because they will receive too many emails.  Can you help?

0 votes
Sebastian Baehr January 23, 2015

Perfect!

Thanks so much for the fast help smile

 

Suggest an answer

Log in or Sign up to answer