Skip to content
atlassian-dc-mcp
Esc
↑↓navigate↵open⌘Jpreview

Get groups matching a query

Returns groups with substrings matching a given query

GET/api/2/groups/picker
Authorization
AuthorizationBasic auth · headerrequired

In order to use basic authorization, provide username:password Base64 encoded in the 'Authorization' header.

or
AuthorizationBearer token · headerrequired

Personal Access Token — Administration > Profile > Personal Access Tokens

AuthorizationBasic auth · headerrequired

In order to use basic authorization, provide username:password Base64 encoded in the 'Authorization' header.

Query parameters
maxResultsstring

Maximum number of results to return

querystring

A String to match groups against

excludestring

List of groups to exclude

userNamestring

Username for the context

Responses
200

Returns a collection of matching groups

groupsGroupSuggestionBean[]
Show properties
Array of GroupSuggestionBean
htmlstring
labelsGroupLabelBean[]
Show properties
Array of GroupLabelBean
textstring
titlestring
typestring
Allowed:ADMINSINGLEMULTIPLE
namestring
headerstring
totalinteger<int32>
Try it
Server
Authorization
Parameters
Request
curl -X GET 'http://jira.example.com/rest/api/2/groups/picker' \
  -H 'Authorization: Basic YOUR_CREDENTIALS' \
  -H 'Accept: application/json'
Response
{
  "groups": [
    {
      "html": "<b>j</b>dog-developers",
      "labels": [
        {
          "text": "jdog-developers",
          "title": "Developers",
          "type": "SINGLE"
        }
      ],
      "name": "jdog-developers"
    }
  ],
  "header": "Showing 20 of 25 matching groups",
  "total": 25
}

Was this page helpful?