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.
#foreach ($row in $result)
#foreach ($key in $row.keySet())
#if ($key == "Computers")
#set ($computers = $row.get("Computers"))
#foreach($computer in $computers.split(";"))
The Apache Velocity Engine - User Guide was very helpful.
Hi, Confluence collaborators! As part of #Confluence-Collaboratory month, we’ve created a very special Mythsbusters segment, where we're dive into an interesting myth and uncover the truth behind i...
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events