Is there a way to push data into a velocity template parameter of type enum?
example...I would like to have a drop down with all the confluence user groups listed in the parameter selection screen (user macro edit mode)
## get all user groups
#set ($_allGroups = $userAccessor.getGroupsAsList())
#set ($_grpNames = "")
#foreach ($_group in $_allGroups)
#set ($_grpNames = "$_grpNames,$_group.getName")
## this does not work...( type=enum|enumValues=$_grpNames )
## @param _group:title=Groups|type=enum|enumValues=$_grpNames|required=true|desc=The LDAP group name to perform search for members in, if no group is provided, default is all users.
Do you use templates with Confluence? Take part in a remote 1-hr workshop. You'll receive USD $100 for your time! We're looking for people to participate in a remote 1-hr workshop...
Connect with like-minded Atlassian users at free events near you!Find a group
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG
You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs