Missed Team ’24? Catch up on announcements here.

×
Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Is there any way to search a group's description?

Graham Bakay
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.
April 28, 2013

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.

2 answers

1 accepted

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

Post a new question

1 vote
Answer accepted
Graham Bakay
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.
April 28, 2013
0 votes
Graham Bakay
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.
April 28, 2013

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.

TAGS
AUG Leaders

Atlassian Community Events