Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

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,456,333
Community Members
 
Community Events
176
Community Groups

Join two lists with the same size using smart value

Edited

I have two list with the same size where I want to merge them and separate the each value of the two list using @.

 

list_1:

A,
A,
C,
D,
E

 list_2

one-time,
one-time,
recurring,
recurring,
recurring

The expected merged list_3:

A@one-time,
A@one-time,
C@recurring,
D@recurring,
E@recurring

I tried to look at the documentation https://support.atlassian.com/cloud-automation/docs/jira-smart-values-lists/ but was not able to find any idea how to achieve this.

Managed to get the idea on how to iterate a single list and add the suffix @index but no idea how to expand this function to merge two list.

{{#list_1.split(",")}}{{.}}@{{index}}{{^last}},{{/}}{{/}}

 I tried with 

{{#list_1.split(",")}}{{.}}@{{list_2.split(",").get(index)}}{{^last}},{{/}}{{/}}

and it did not work. It seems like the smart value does not recognize the index for the following function:

{{list_2.split(",").get(index)}}

Does anyone have any ideas?

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS

Atlassian Community Events