Updating an automation rule that uses a fixed rate schedule trigger impacts on the next rule execution time

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: Low
    • 10.6.0
    • Affects Version/s: 10.3.0, 8.2.6
    • Component/s: Triggers
    • Severity 3 - Minor

      Issue Summary

      An automation rule can be configured to run on a fixed rate schedule.
      The rule is expected to run on this schedule based on the last execution time.
      When a rule is updated, it's next execution is impacted by the change event, delaying the next rule execution.

      Steps to Reproduce

      1. Install a vanilla instance of Jira Software Data Center.
        • This was validated on Jira versions 10.3.0 (A4J 10.3.0), 9.4.29 (A4J 8.2.6).
      2. Create an automation rule as follows.
        • Trigger: Scheduled
          • Fixed rate of every 5 minutes
          • When rule executes...: simply run the conditions and actions without providing issues
        • Action: Log action
          • Log message: Log
      3. Let the rule run on the schedule a couple of times.
      4. Update the rule by simply adding a description.
      5. Wait for the next rule execution.

      Expected Results

      The rule runs 5 minutes after the last time it was executed.

      Additional note about the expected result:
      This is the behavior on Jira Cloud, on which a rule update won't change the next schedule.

      Actual Results

      The rule runs 5 minutes after it was modified.

      Workaround

      Use a cron schedule instead of the fixed rate option.

        1. screenshot-3.png
          screenshot-3.png
          134 kB
        2. screenshot-2.png
          screenshot-2.png
          290 kB
        3. screenshot-1.png
          screenshot-1.png
          340 kB

            Assignee:
            Nikhil Patil
            Reporter:
            Thiago Masutti (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: