How can I get a list of users in a group along with the fields in their profile?

We have clients who use our Confluence and we ask all of them to put their company name into their department. It would be great if someone (please!) could write a macro that would print a list of users in a specific groups (e.g. 'client') along with what they have entered for the 'department' field.

Could anybody help?

2 answers

1 accepted

Would the Mugshot Plugin work in your situation? I wrote it once with more or less the same usecase.

Well my goodness, Stefan, that'll definitely do for the time being. Ideally - IDEALLY - I would love for it to be in a table (even a table-plus) where I can easily organise the information but that plugin is certainly very useable.

Thank you so much!

Andrei [errno] Community Champion Jul 04, 2011

are therre any performance impications for large groups (as userlister macro has)?

If you work with the SQL plugin, you can get at the values directly from the database. It was pretty difficult to find this info: it's actually stored in the OS_PROPERTYENTRY table, with the "department" being defined not as a column but as a string value in the entity_key column. The key in this table matches up with the user entity in the content table, so you'd have to do some fancy SQL to get user and group info, but it can be done.

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Posted 3 hours ago in Confluence

Calling all marketing teams who use Confluence - we want to hear from you!

Hi Community! me again 🙂 If you’re a marketing team using Confluence, we want to hear your story! How did you start using Confluence? What are your use cases? What have been some of the benefits?...

24 views 0 2
Join discussion

Atlassian User Groups

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!

Find my local user group

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

Groups near you