Include additional User Profile fields in the People Directory search

Hi All,

I would like to expand the elements that can be searched for in the Confluence People Directory. 

For example, it would be really useful to be able to search the Department field (eg. "Marketing") in the People Directory search box and have it return all people with that set in their Department field in their profile. 

Any ideas how to do this?



3 answers

Alicia - 

AppFusions' Enterprise Directory and Org Chart allows you to expand based on the fields in your LDAP/AD (also can include images from AD).

Also you can sort by departments, names, etc. and place lookups or org charts also In independent Confluence pages (via additional macros).

When installed, the "Directory" is natively available in the page header options.

Here's a "glimpse" video :

More info at or request eval at


Hi Ellen, I am trialling the appfusions plugin at the moment. It still requires the user to decide what element the are searching for. I would just like to be able to expand the general confluence People Directory search to encompass all elements from the user profiles. Hmm. Thanks, Alicia

Alicia - AppFusions is about to release this feature you have requested - email

Alicia, this search any field capability is now in the v4.0.0 version of Enterprise Directory and Org Chart for Atlassian Confluence add-on. Here's a screenshot. Thanks for the great feedback; you influenced this.


0 votes
Davin Studer Community Champion Oct 14, 2014

The User Profile for Confluence add-on gives you this functionality.

Update for screenshot:

image2014-10-17 10:48:37.png

Hi, Yeah I have this installed so I am a bit familiar with it. The only thing though is I just don't think my users (mostly non-tech) will embrace the need to specify the element that they are searching for. For instance, somebody might want to search for everyone on the IT Service Desk... They will want to just input the word "Service" and have every profile that includes the word "Service" listed. Not: "Department:Service" or "Position:Service". So I want to know how to expand what the search of the People Directory is looking at... but not sure how to do it :-/

Davin Studer Community Champion Oct 17, 2014

Yeah our users had the same issue. So, what I did was I hijacked the People Directory page by putting some JavaScript in the Custom HTML section of Confluence Admin. The JavaScript first checks to see what page the user is currently on. If it is the people directory then it hides the default search form (does not delete it). Then the script builds out a form with the fields that we want and a submit button. When the user clicks the submit button the script creates the appropriate search syntax and puts the value into the hidden search field and programatically clicks the hidden search button. I give and example on this page.

Davin Studer Community Champion Oct 17, 2014

See the update on my above post for a screenshot of what ours looks like. I unhid the default search box so you could see kinda what we are doing.

That's pretty good David, thanks for the excellent information. What I really want to know though is how to extend the results of that quick search box for the people directory to search more fields than just First Name, Last Name, and Username. Any ideas how to modify that directly?

Davin Studer Community Champion Oct 22, 2014

You have to specify the field(s) you are searching. An example search would be ... FirstName:Joe OR LastName:Joe OR Position:Joe OR Department:Joe I realize your users don't want to type that. This is reason for creating your own form that will put the search terms into the original form in the format you want. If you want just a simple form that looks just like the original(with on text field) you can use the example on the below link. Line 44 is what you would change. You would just set it to create the appropriate search string based on what you typed into the form generated by the javascript.

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Mar 12, 2019 in Confluence

Confluence Admin Certification now $150 for Community Members

More and more people are building their careers with Atlassian, and we want you to be at the front of this wave! Important Dates Start the Certification Prep Course by 2 April 2019 Take your e...

928 views 2 13
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