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

Get users and groups matching query with highlighting

Returns a list of users and groups matching query with highlighting

GET/api/2/groupuserpicker
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
issueTypeIdstring

The list of issue type ids to further restrict the search

maxResultsstring

The maximum number of users to return

querystring

A string used to search username, Name or e-mail address

showAvatarstring

Show avatar

projectIdstring

The list of project ids to further restrict the search

fieldIdstring

The custom field id

Responses
200

Returns a list of users and groups matching query with highlighting

groupsGroupSuggestionsBean
Show properties
groupsGroupSuggestionBean[]
Show properties
Array of GroupSuggestionBean
htmlstring
labelsGroupLabelBean[]
Show properties
Array of GroupLabelBean
textstring
titlestring
typestring
Allowed:ADMINSINGLEMULTIPLE
namestring
headerstring
totalinteger<int32>
usersUserPickerResultsBean
403

Returned if the user does not have permission to view users and groups

Try it
Server
Authorization
Parameters
Request
curl -X GET 'http://jira.example.com/rest/api/2/groupuserpicker' \
  -H 'Authorization: Basic YOUR_CREDENTIALS' \
  -H 'Accept: application/json'
Response
{
  "groups": {
    "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
  },
  "users": {}
}

Was this page helpful?