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

2 votes
Accepted answer

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!

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
Community showcase
Published yesterday in Agile

Are you a Jira Service Desk agent? We want to talk to you!

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...

24 views 0 2
Read article

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