Hi All,
some projects of our Jira instance requested custom email templates. Most of them are already deployed as a custom event added to a workflow.
But there a few events - as you know - which are not related to workflow. For example: comment adding, worklog adding, delete an issue, etc. Now we have this fantastic Script runner plugin where custom conditions can be added. Hence we are not acquinted with groovy can you maybe help how to write them correctly?
For example:
if (eventTypeId.equals(EventType.ISSUE_CREATED_ID))
it's not correct we know but we didn't find a reference for this.
We need these:
Work Logged On Issue
Issue Updated
Issue Worklog Deleted
Issue Commented
Issue Worklog Updated
Issue Comment Edited
Issue Deleted
Issue Moved
Thanks for the support!