I want to send a notification to a non-jira user when an issue is commented via Email this issue.
When the initial email comes in the non-JIRA user's email address is saved in a custom field. When comments are created on the issue via email responses, I want to send a notification to the address in the custom field. Is there a way to distinguish between comments that were created on an issue via email and comments that were manually entered into the issue?
No, a comment is a comment, there's no information stored about how the comment was made.
If you want to distinguish between them, you'll need to code for a flag on the comments, and add something in the "email this issue" plugin to set the flag. If it's just about the notification and the information about how it was created is not really that important, then you'll only need to get the plugin amended to send when needed.
How would I code for a flag on the comments? I am trying to set up communication between our customer support person and a non-jira user using "email this issue". I want customer support to be able to communicate among themselves by adding comments manually into the ticket, and communicate to the non-jira user via email. Is there another way to do this other than trying to distinguish between how the comments was created? If I could control who the "auto-reply" to comment email goes to then I could use this and set it to the user in the custom field. But I don't see any way to do this.
You'd need to write a plugin to add the facility to tag comments (which, I don't think is an easy plugin to write), and you'll need to re-write the "email this issue" function as well. The significantly easier option would be to write a new email handler - one that essentially duplicates the current behaviour, but also has some code to send out the additional email.
I’m a designer on the Jira team. For a long time, I’ve fielded questions from other designers about how they should be using Jira Software with their design team. I’ve also heard feedback from other ...
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!
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