Uploaded image for project: 'Crowd Data Center'
  1. Crowd Data Center
  2. CWD-3512

For Internal and Caching directories, when searching for memberships you should be able to apply a search restriction to the result

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Fixed
    • 2.9.1
    • None
    • None
    • Our product teams collect and evaluate feedback from a number of different sources. To learn more about how we use customer feedback in the planning process, check out our new feature policy.

    Description

      An example of this search would be the following:

      MembershipQuery query = QueryBuilder.queryFor(String.class, group()).with(Restriction.on(GroupTermKeys.NAME).startingWith("jira-admin")).parentsOf(user()).withName(ADMIN_USER).startingAt(0).returningAtMost(10);
      
              MembershipQuery<User> userMembershipQuery = QueryBuilder.queryFor(User.class, EntityDescriptor.user())
                      .with(Restriction.on(UserTermKeys.NAME).startingWith("justin"))
                      .childrenOf(EntityDescriptor.group())
                      .withNames("crowd-administrators", "jira-administrators")
                      .startingAt(1)
                      .returningAtMost(31);
      

      Attachments

        Issue Links

          Activity

            People

              justin@atlassian.com Justin Koke
              justin@atlassian.com Justin Koke
              Votes:
              1 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: