Evaluating empty fields in Xporter

CoreyM April 21, 2022

I am creating a document for distribution externally and I want to exclude fields that are blank. I am using the following code but it is not evaluating. Any suggestions?

#{if  (% {!'${Admin Email}'.equals('')})}

${Admin Email}

#{end}

1 answer

0 votes
sclarke-aptos-com
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
January 20, 2023

I had a similar issue. Try this 

 

#!{if (%{'${Admin Email}'.length > 0})}

${Admin Email}

#{end}

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events