java.lang.Object | |
↳ | com.atlassian.jira.rest.v2.issue.GroupResource |
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Adds given user to a group.
| |||||||||||
Creates a group by given group parameter
Returns REST representation for the requested group.
| |||||||||||
Returns REST representation for the requested group.
| |||||||||||
Deletes a group by given group parameter.
| |||||||||||
Removes given user from a group.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class java.lang.Object |
@Internal
or @PublicApi
.
Adds given user to a group. Returns the current state of the group.
groupName | A name of requested group. |
---|---|
userBean | User to add to a group |
@Internal
or @PublicApi
.
Creates a group by given group parameter Returns REST representation for the requested group.
groupBean | a group to add |
---|
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.
groupName | A name of requested group. |
---|---|
expand | List of fields to expand. Currently only available expand is "users". |
@Internal
or @PublicApi
.
Deletes a group by given group parameter. Returns no content
groupName | a group to delete |
---|---|
swapGroup | a group to transfer visibility restrictions of the group that is being deleted |
@Internal
or @PublicApi
.
Removes given user from a group. Returns no content
groupName | A name of requested group. |
---|---|
username | User to remove from a group |