Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,364,701
Community Members
 
Community Events
168
Community Groups

How do I access a Custom Variable while iterating through a Smart Value List?

I'm running into an issue trying to access Custom Variables created in Automation while iterating through a Smart Value List.

An simplified example:

There are two Custom Variables defined in the Automation Workflow:

  • {{MyList}} = "a,b,c,d,e,f,"
  • {{MyVar}} = "A"

 

I can use a Log Action with following, and it will return "abcdef & A":

 {{#MyList.split(",")}}{{.}}{{/}} & {{MyVar}}

 

But when I use a Log Action while iterating through the first Custom Variable, and try to reference the second Custom Variable from within, it fails. 

In this example, the following returns the string "abcdef" instead of "aAbAcAdAeAfA".

 {{#MyList.split(",")}}{.}{{MyVar}}{{/}}

 

How do I reference a Custom Variable while iterating through a Smart Value list?

0 answers

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
PERMISSIONS LEVEL
Site Admin
TAGS

Atlassian Community Events