Hi,
I'm starting to use ScriptRunner's custom mail post function. It works nicely - but I have a question on the lastComment.
When I create the comment in Jira (in a transition), I can restrict visibility, like "Only administrators". But when I put together the mail, all I have is the lastComment variable (which is, as far as I can see, only a string) - and I don't want to send the admin-only restricted-visibility comment to the mail recipients.
What have I missed?