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

how to get the number of items in a velocity array list?

I have some useful user macros to help me administrating our wiki.

I would like to get quickly the total size of users from the user store. I cant get a list of all users with that method:


But how can I get the size of the list without looping it by foreach?

2 answers

$array.size() works
0 votes
Davin Studer Community Leader Nov 11, 2014

This should work.

Davin Studer Community Leader Nov 12, 2014

Oh wait! It doesn't actually return an array, so .size() won't work. I think you might have to loop through it.

Many thanks. The size() methode I tried also without success. So looping is the only solution?

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Agile

On-demand: Fireside chat with Atlassian on scaling agile organizations

Scaling an agile organization and setting it up for success over the long term is a hard thing to do. We hear a common set of questions from customers all the time, questions like: Can agile scal...

3,984 views 2 17
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