We have comment security view enabled for one project. To allow creating restricted comment by email, we set up a dedicated address and a separate JEMH profile. Let's say the dedicated address is called "firstname.lastname@example.org". The default reply (from) address for the project is "email@example.com".
Since the default email address for the project is "firstname.lastname@example.org", users received notification email with the default address for reply to when creating restricted comment. Is there a way to set up so that for the restricted comment notification, the reply to address is changed to "email@example.com"?
You can change the project email address (JIRA Project admin > Notifications) that defaults the mailserver incoming address. You can set a per-project address, this means all traffic for the project comes from that address, may be a way to specifically manage comments.
In order for this to work, your mailserver must accept the from: address that differs from the default. For example, Gmail will rewrite provided addresses if they given, unless some vendor specific steps are taken to validate the linkage between the accounts. Your mailserver admin should be able to help more there.
Topic referred to changing by group, but the question didn't drill into the group aspect, please clarify if I missed the point!
JEMH will use the project email if provided. As yet the IssueListener notifications do not attempt to lookup the profile and try to use an provided override addresses (those present in profiles were used only for the legacy lightweight 'issue created' notifications).
Let me uses one exmaple. Say we have a project, helpdesk. The default from/reply to email address for project "helpdesk" is "firstname.lastname@example.org". One JEMH profile is created for this email address. Notification email from address is "email@example.com" (for the project)
Now I created another email address, firstname.lastname@example.org and its corresponding JEMH profile to allow creating restricted comments via email. This all works fine.
What I want to do now is whever a restricted comment is created, the notification email should be sent out to watchers with from/reply to address as "email@example.com", in stead of the default email address for the project.
Is this possible?
OK, good that you have mulitple outbound from: addresses working.
Sharing a project between profiles and having two different outbound addressed that are specific to those profiles has not yet been implemented.
To implement this I would use the from address override in the JEMH Profile, and use the audit history to cross match to the related Profile and the address, it should work. I've logged https://javahollic.atlassian.net/browse/JEMH-1236 for this, please watch that.
Atlas Camp is our developer event which will take place in Barcelona, Spain from the 6th -7th of September . This is a great opportunity to meet other developers and get n...
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