How to use CrowdClient to search for users attribute

Eli Kim
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
June 18, 2014

I am trying to search for users that have a certain user attribute value for a attribute. How can I use CrowdClient.searchUsers to accomplish this? I was looking at UserTermKeys and I noticed that it had nothing concerning user attributes.

1 answer

1 accepted

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

Post a new question

0 votes
Answer accepted
Eli Kim
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
June 22, 2014
client.searchUserNames(Restriction.on(PropertyUtils.ofTypeString(attr)).exactlyMatching(value), 0, 1000);

Found the PropertyRestriction and it was pretty straight forward

TAGS
AUG Leaders

Atlassian Community Events