It's not the same without you
Join the community to find out what other Atlassian users are discussing, debating and creating.
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:
$userAccessor.getUsers()
But how can I get the size of the list without looping it by foreach?
This should work.
$userAccessor.getUsers().size()
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Oh wait! It doesn't actually return an array, so .size() won't work. I think you might have to loop through it.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Many thanks. The size() methode I tried also without success. So looping is the only solution?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Are you a whiz at handling tickets and looking at how you can further optimize your workflow with automation? Do you tackle detailed customer support questions while simultaneously getting flooded wi...
Connect with like-minded Atlassian users at free events near you!
Find a groupConnect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.
Start an AUGYou're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.