Find users and groups
GET
/rest/api/3/groupuserpicker
Group and user picker
html
field for each list. This field highlights the matched query term in the item name with the HTML strong tag. Also, each list is wrapped in a response object that contains a header for use in a picker, specifically Showing X of Y matching groups.Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET 'http://jira.local:8080/jira/rest//rest/api/3/groupuserpicker?query='
Response Response Example
200 - Success
{
"users": {
"users": [
{
"accountId": "5b10a2844c20165700ede21g",
"accountType": "atlassian",
"name": "mia",
"key": "mia",
"html": "<strong>Mi</strong>a Krystof - <strong>mi</strong>a@example.com (<strong>mi</strong>a)",
"displayName": "Mia Krystof",
"avatarUrl": "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=16&s=16"
}
],
"total": 25,
"header": "Showing 20 of 25 matching groups"
},
"groups": {
"header": "Showing 20 of 25 matching groups",
"total": 25,
"groups": [
{
"name": "jdog-developers",
"html": "<b>j</b>dog-developers",
"groupId": "276f955c-63d7-42c8-9520-92d01dca0625"
},
{
"name": "juvenal-bot",
"html": "<b>j</b>uvenal-bot",
"groupId": "6e87dc72-4f1f-421f-9382-2fee8b652487"
}
]
}
}
Request
Query Params
query
stringÂ
required
maxResults
integerÂ
optional
showAvatar
stringÂ
optional
fieldId
stringÂ
optional
projectId
array[string]
optional
projectId=10000&projectId=10001
. This parameter is only used when fieldId
is present.issueTypeId
array[string]
optional
issueTypeId=10000&issueTypeId=10001
. Special values, such as -1
(all standard issue types) and -2
(all subtask issue types), are supported. This parameter is only used when fieldId
is present.avatarSize
stringÂ
optional
caseInsensitive
stringÂ
optional
excludeConnectAddons
stringÂ
optional
Responses
Modified at 2023-07-13 03:27:27