LookUpIssues list does not support using filters (like fields, vars , etc) in Automation Smart Value

XMLWordPrintable

      Issue Summary

      LookUpIssues list does not support using filters (like fields, vars , etc) inside IF condition operation (Like Equals)

      Steps to Reproduce

      • Setup a LookupIssues component to fetch work items like below:
      • Add a log action component and use the lookupIssues smart value output like below:
      {{#lookupIssues}}{{#if(equals(summary, triggerissue.customfield_21007))}}{{customfield_19916}}{{/}}{{/}} 

      Expected Results

      Using above mentioned smart value operation should iterate through the lookupIssues work items extracted from previous step and then for each work item, extract summary field data and compare it with the data in the another smart value like "triggerissue.customfield_21007" and if there is a successful match, extract the corresponding data in another custom field like "customfield_19916".

      Actual Results

      The comparison operation does not work as lookupIssues currently does not support using filters like "triggerissue.customfield_21007" or a variable smart value and it does not return anything.

      Workaround

      Use hard coded value like below if possible in the comparison operation:

      {{#lookupIssues}}{{#if(equals(summary, "Any hard coded value you want to compare"))}}{{customfield_19916}}{{/}}{{/}} 

            Assignee:
            Unassigned
            Reporter:
            Rahul Goel
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: