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

Events fired by "Fires an event when condition is true" canned script no longer trigger Automation For Jira Rules



    • 3.6


      Rules in Automation for Jira can no longer be triggered by Events fired from the "Fires an event when condition is true" canned script.

      Only impacts Automation for Jira versions AFTER 5.0.1

      It appears Automation for Jira changed how they listen for events after the above version.

      Customer reported that they contacted Automation for Jira and they said:

      "Automation for Jira only listens on events that are sent within the "IssueEventBundle". "

      I am not sure this is the source of the issue as it looks like we do use the "DefaultIssueEventBundle" in my labs listener payload:


      To reproduce

      If you define an event like this:

      Then setup a listener :

      Define an automation for Jira global rule like this:


      If you are running Script runner 5.4.48 and Automation for Jira 5.1.4 this will not work.

      Downgrade automation for Jira to 5.0.1 and it will start working again

      Additional Note

      • Generate Events feature is encountering the same problem. (Update: The separate Generate Events feature was not been fixed as part of this fix)




        1. image-2019-02-13-17-29-20-315.png
          10 kB
          Matthew Clark
        2. image-2019-02-13-17-31-20-518.png
          74 kB
          Matthew Clark
        3. image-2019-02-13-17-32-39-929.png
          68 kB
          Matthew Clark
        4. image-2019-02-13-17-33-19-525.png
          75 kB
          Matthew Clark
        5. image-2019-02-13-17-49-22-996.png
          55 kB
          Matthew Clark

        Issue Links



              mclark Matthew Clark
              mclark Matthew Clark
              3 Vote for this issue
              8 Start watching this issue