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 "email@example.com". The default reply (from) address for the project is "firstname.lastname@example.org".
Since the default email address for the project is "email@example.com", 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 "firstname.lastname@example.org"?
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 "email@example.com". One JEMH profile is created for this email address. Notification email from address is "firstname.lastname@example.org" (for the project)
Now I created another email address, email@example.com 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 "firstname.lastname@example.org", 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.
It started as any story starts, on a normal, rainy day. Admin meets App, and her name was Klok2, and like any first relationship we were both trying to make it work but neither one knew what...
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