Hi,
We put important information in our groups' descriptions. Unless I'm mistaken, that information is completely lost to us (insofar as searching is concerned).
For the fields of a group, each dutifully has a static Property listed in GroupTermKeys that we can use to plug a TermRestriction when searching. Each field except 'description'. If we had put that information into a custom attribute we could at least use a PropertyImpl to search it. But because it's not accessible from GroupTermKeys and it's not an attribute, we are completely hosed, right?
Frustrating that something that would probably take 10 minutes to add to Crowd was overlooked, and because Crowd gets nearly zero love from Atlassian we may never see it, or not for years.
Or, if I'm wrong let me hear it.
:/
—Graham.
Community moderators have prevented the ability to post new answers.
I've filed a JIRA issue:
And what do those static Properties do?
public class GroupTermKeys { public static final Property<String> NAME = new PropertyImpl<String>("name", String.class); public static final Property<Boolean> ACTIVE = new PropertyImpl<Boolean>("active", Boolean.class); public static final Property<Date> CREATED_DATE = new PropertyImpl<Date>("createdDate", Date.class); public static final Property<Date> UPDATED_DATE = new PropertyImpl<Date>("updatedDate", Date.class); public static final Property<Boolean> LOCAL = new PropertyImpl<Boolean>("local", Boolean.class); ... }
All the fields are there except description.
Trying new PropertyImpl<String>("description", String.class) returns nothing.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.