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

Index smart value in iterators cannot be used as a parameter

XMLWordPrintable

    • Severity 3 - Minor

      Issue Summary

      The `index` smart value of a list iterator in smart values cannot be used inside global functions.

      Steps to Reproduce

      1. Create a smart value that iterates over a list (such as lookupIssues)
      2. in the iterator try to use the `index` smart value in a function, such as `#lookupIssues {{ equals(index, 1)}} { Unknown macro: \{ /}

        }

      Expected Results

      It should give false true false ....

      Actual Results

      Empty result

      Workaround

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

              Unassigned Unassigned
              2b0a1e502f22 Sam Harding
              Votes:
              1 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated: