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

Add "Return" action for rules to enable short-circuit programming

    XMLWordPrintable

Details

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

    Description

      Convoluted if-elseif-elseif-...-else statements are difficult to reason about.

      Many languages provide an ability to "return" out of an imperative flow early, when certain base cases eliminate the need to proceed down the main flow (AKA "short-circuit" programming, e.g., for "guard clauses").

      Please provide a rule action "Return" that can be used within if-statements.

      Attachments

        Activity

          People

            Unassigned Unassigned
            6aa57eb0ce7d Johnny Hermann
            Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: