com.atlassian.jira.rest.v2.issue
Class GroupResource

java.lang.Object
  extended by com.atlassian.jira.rest.v2.issue.GroupResource

public class GroupResource
extends Object

Since:
v6.0

Constructor Summary
GroupResource(PermissionManager permissionManager, JiraAuthenticationContext authContext, I18nHelper i18n, GroupManager groupManager, JiraBaseUrls jiraBaseUrls)
           
 
Method Summary
 javax.ws.rs.core.Response getGroup(String groupName, StringList expand)
          Returns REST representation for the requested group.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GroupResource

public GroupResource(PermissionManager permissionManager,
                     JiraAuthenticationContext authContext,
                     I18nHelper i18n,
                     GroupManager groupManager,
                     JiraBaseUrls jiraBaseUrls)
Method Detail

getGroup

public javax.ws.rs.core.Response getGroup(String groupName,
                                          StringList expand)
Returns REST representation for the requested group. Allows to get list of active users belonging to the specified group and its subgroups if "users" expand option is provided. You can page through users list by using indexes in expand param. For example to get users from index 10 to index 15 use "users[10:15]" expand value. This will return 6 users (if there are at least 16 users in this group). Indexes are 0-based and inclusive.

Parameters:
groupName - A name of requested group.
expand - List of fields to expand. Currently only available expand is "users".
Returns:
REST representation of group
Since:
6.0


Copyright © 2002-2013 Atlassian. All Rights Reserved.