Uploaded image for project: 'Automation for Jira Server'
  1. Automation for Jira Server
  2. JIRAAUTOSERVER-583

Issue deleted trigger needs to work till the automation rule completes when there is a delay execution checked

XMLWordPrintable

    • Icon: Suggestion Suggestion
    • Resolution: Unresolved
    • None
    • Triggers
    • 0
    • Our product teams collect and evaluate feedback from a number of different sources. To learn more about how we use customer feedback in the planning process, check out our new feature policy.

      We had a bug JIRAAUTOSERVER-380 as data for issue deleted trigger was loaded lazily and if this data is lost before rule completes it always had failed with an error, this was fixed in a4j v7.4.1. Now the rule works fine if the "delay execution" checkbox is not checked for subsequent action.

      Rule is being set up like -> If the issue deleted event rule is triggered then A) send web request to get an access token from Azure with a delay execution of subsequent rules checked
      and B ) send web request to get/post issue data (Screenshot attached).
      The above rule fails with no issue key error (error attached). This seems to happen due to the cache getting updated post the first web request is sent and since the delay is checked, the subsequent send web request fails. If we do not delay subsequent rules, the automation rule works fine.

      As the access token has expiry, we would like the issue data to be present in cache when the issue deleted event is triggered till the automation rule completes, when there is a delay execution checked.

              Unassigned Unassigned
              c0365eb4a5cb Neel
              Votes:
              1 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated: