hello,
using Atomation for jira ( server version) I configured a rule to add the organization based on email domain. The rule is configured like this ( assuming my domain is for example pippo.com)
WHEN issue is created
IF reporter.domain != pippo THEN
EDIT issue organization field = reporter.domain
END_IF
here you can find also the screen shot.

Well, if I try to generate a ticket by sending an email es ivan@pippo.com to my jira the rule fails and will add pippo as organization ( every body will get notify... it is a disaster) and I do not understand why. any help will be appreciate