Infinite comments are added to an issue if an automation rule triggers an alert when a comment is added to an issue

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: Low
    • 3.9.1
    • Affects Version/s: 3.9.0
    • Component/s: Automation
    • Severity 3 - Minor
    • 4

      Issue description

      If we configure a Service Desk automation rule that alerts a user when a comment is added to an issue, when the rule is triggered, it keeps alerting the user in the issue indefinitely.
      This behavior is happening with Service Desk 3.9.0, but was not happening with previous versions.

      Steps to reproduce

      • In a Service Desk project, create an automation rule that alerts a user when a comment is added to an issue
      • Create an issue within the project
      • Add a comment to the issue
      • Refresh the issue

      Expected Result

      • The alert is added indefinitely to the issue
      • The automation rule logs show that the rule is being triggered indefinitely:

      Actual Result

      The automation rule should detect that there is a loop and should prevent any additional comment to be added to the issue, like it used to be the case in 3.8.x:

      Workaround

      Go to the dark feature page: <JIRA-BASE-URL>/secure/SiteDarkFeatures!default.jspa
      Click on the "Disable" button next to the dark feature sd.internal.base.off.thread.on.completion.events.enabled
      With this dark deature disabled, the loop detection should work again and only one alert will be added to the issue.

        1. Issue_Example.png
          Issue_Example.png
          244 kB
        2. JIRA_740.png
          JIRA_740.png
          181 kB
        3. JIRA_760.png
          JIRA_760.png
          193 kB
        4. Rule_Configuration.png
          Rule_Configuration.png
          90 kB

              Assignee:
              Matthew McMahon (Inactive)
              Reporter:
              Julien Rey (Inactive)
              Votes:
              1 Vote for this issue
              Watchers:
              7 Start watching this issue

                Created:
                Updated:
                Resolved: