Rule status is set to success when Send Web Request action is executed even though the rule is still in progress

XMLWordPrintable

    • Type: Bug
    • Resolution: Unresolved
    • Priority: Low
    • None
    • Affects Version/s: 7.4.0, 8.0.0, 8.0.3
    • Severity 3 - Minor
    • 0

      Issue Summary

      The Send web request action may set the rule status as success while there are actions to be executed.

      The issue doesn't affect the final status of execution, but may report wrong status while it's executing.

      Steps to Reproduce

      1. Install a vanilla instance of Jira Data Center.
        • This was validated on Jira Software DC 9.2.0 (Automation for Jira 8.0.3).
      2. Create a rule with the following:
        • Trigger: Issue created.
        • Action: Send web request.
          • Configure the rule to wait for a response – this is only to easily verify the rule audit log and the issue also occurs if the options isn't set.
          • Configure the webhook with a delay to respond the request.
        • Action: Add comment
      3. Create an issue.
      4. Check the rule audit log.

      Expected Results

      The audit log shows the rule as in progress the whole time it's still running and the status is changed (success or with failures) once the rule completes.

      Actual Results

      The rule status is set to success once the web request is sent, even though it still needs to wait for the request response and execute the next action (add a comment in this test).

      Here's an example on which the rule is still running, status is success and it shows no actions were performed.


      This might be related to another bug reported in JIRAAUTOSERVER-490.

      Workaround

      Currently there is no known workaround for this behavior. A workaround will be added here when available

        1. screenshot-1.png
          screenshot-1.png
          410 kB
        2. screenshot-2.png
          screenshot-2.png
          409 kB

            Assignee:
            Daniel Ramotowski (Inactive)
            Reporter:
            Thiago Masutti (Inactive)
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: