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

Next challenges

Recent achievements

  • Global
  • Personal


  • Give kudos
  • Received
  • Given


  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Difference between # and & in loop


I looked in the documentation, but can't seem to find the answer. In Xporter, when using a template, what is the difference between # and & ? I have seem both, but can't figure when I use one instead of the other?


&{for issues}
Issue Key: ${Key}


#{for issues}
Issue Key: ${Key}



1 answer

1 accepted

0 votes
Answer accepted

Hi @Barry Allan,

The main difference between $ and & is:

& -> Must be used on iterations over Issues. This allows you to create static zones in your documents.

#-> Must be used on conditional blocks or iterations over Issue data like Comments, Links etc...

Regarding to the first one, you can see more here.

The $ is used to get printed fields on document, also used to call Xporter functions.

Finally, you can use Javascript code too, using the notation %{Javascript code here}. This allows you to do some data handling and it is also used on conditional block as a condition.


Rui Rodrigues.

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Marketplace Apps & Integrations

Happy New Year and Welcome New Marketplace Partner Program Partners!

Happy New Year! We hope you all had a safe and restful holiday season. 2020 was a unique year full of unforeseen events; however, as we enter the new year of 2021, we’re optimistic for the light at t...

641 views 7 23
Read article

Community Events

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

Events near you