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

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Done
    • Priority: Trivial
    • Resolution: Done
    • Affects Version/s: 5.4.48, 6.21.0
    • Fix Version/s: 6.41.0
    • Component/s: Listeners, Third-Party Apps
    • Labels:
      None
    • Critical Points:
      3.6

      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

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

       

       

        Attachments

        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

            Activity

              People

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

                Dates

                Created:
                Updated:
                Resolved: