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

    Details

    • Critical Points:
      1.4

      Description

      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

       

       

        Attachments

          Activity

            People

            Assignee:
            Unassigned
            Reporter:
            mclark Matthew Clark
            Votes:
            3 Vote for this issue
            Watchers:
            7 Start watching this issue

              Dates

              Created:
              Updated: