Uploaded image for project: 'SR for Jira - Development'
  1. SR for Jira - Development
  2. SRJIRA-2055

Event triggered from automation plugin causes custom email failure

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Done
    • Priority: High
    • Resolution: Fixed
    • Affects Version/s: 4.3.6, 4.3.7, 4.3.8
    • Fix Version/s: 4.1.3.19, 4.3.9
    • Component/s: None
    • Labels:
      None
    • Critical Points:
      0.7

      Description

      Hello!

      I try using Script Runner Listener with Automation plugin. Automation fire custom event. Then Script Runner should send custom email to users.

      Preview works as expected

      Actual run fails with error:

      2016-09-29 13:35:00,112 ERROR [runner.AbstractScriptListener]: *************************************************************************************
      2016-09-29 13:35:00,112 ERROR [runner.AbstractScriptListener]: Script function failed on event: com.atlassian.jira.event.issue.IssueEvent, script: com.onresolve.scriptrunner.canned.jira.workflow.postfunctions.SendCustomEmail
      java.lang.NoClassDefFoundError: groovy/lang/GroovyObject
      	at com.onresolve.scriptrunner.canned.jira.workflow.postfunctions.SendCustomEmail.doScript(SendCustomEmail.groovy:346)
      Caused by: java.lang.ClassNotFoundException: groovy.lang.GroovyObject
      	... 1 more
      

      Payload

      Issue: DocumentIssueImpl[issueKey=AGR-3185]
      ...}
      

        Attachments

          Activity

            People

            Assignee:
            tbatagiannis Thanos Batagiannis
            Reporter:
            tbatagiannis Thanos Batagiannis
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: