You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.
View groupJoin the community to find out what other Atlassian users are discussing, debating and creating.
We have the following template working with a single value in the "Computers" column, such as "C01".
However, sometimes the Computers column contains more than one computer, such as:
and we want each one converted to a separate link. Some sort of a "for each" within the cell.
Any ideas on how to do this?
Got it working. Note that we replace all commas with semi-colons prior to processing with PQ, hence the use of the semi-color in the below code.
<tbody>
#foreach ($row in $result)
<tr>
#foreach ($key in $row.keySet())
#if ($key == "Computers")
<td>
#set ($computers = $row.get("Computers"))
#foreach($computer in $computers.split(";"))
<a href="https://mydomain.com/prefix-$computer">$computer</a>
#end
</td>
#else
<td>$row.get($key)</td>
#end
#end
</tr>
#end
</tbody>
The Apache Velocity Engine - User Guide was very helpful.
Hi Atlassian Community, Remote work has shifted how teams collaborate, and we’ve heard from many of you that Microsoft Teams has become mission critical to many of your workflows, from how you chat...
Connect with like-minded Atlassian users at free events near you!
Find an eventConnect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.
Host an eventYou're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.