Hello,
I have a strange behavior when we add comments. The user preference is using “Do not notify me.” for his own comments.
If the comment has been added directly into Jira, this works fine and no notification is sent.
However, if it is done by email handler running script runner with this API, he gets notification.
commentManager.create(foundIssue, jira_reporter, body, true)
NOTE: He is assignee and part of the watcher list