Uploaded image for project: 'Automation for Cloud'
  1. Automation for Cloud
  2. AUTO-1329

Better handling for unsuccessful actions

XMLWordPrintable

    • 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.

    • Jira Software, Jira Service Management

      Issue Summary

      Currently, if an action fails, there is little recourse for addressing the problem.

      For example, for the outbound webhook action, there is a checkbox for "
      Continue running the rule even if the request response is not successful (i.e. non-200 response)", however, there is no ability to reattempt (may be a transient issue for 429), or to report an error.

      Suggestion

      A retry may be valid for a case of 429. The use case needs to be considered carefully - a single or very small number of reattempts may be useful. Significant complexity may be introduced if attempting to implement exponential backoff based on the response.

      In the case of a 5xx error, it may be useful for the rule to leave a comment - "unable to trigger build" so that a non rule administrator may deal with the problem:

      if not 2xx:
          leave comment
      

      implying:

      if not 2xx:
          leave comment
      else:
          continue with other actions
      

              Unassigned Unassigned
              887e911e3c81 Jimmy Van
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: