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

Find users for picker by query

Returns a list of users matching query with highlighting.

GET/api/2/user/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
maxResultsinteger<int32>

The maximum number of users to return (defaults to 50). The maximum allowed value is 100 (The combination of maxResults and startAt is limited to the first 100 results). If you specify a value that is higher than this number, your search results will be truncated. If you send a request with startAt=98 and maxResults=20, it will only return 2 users.

querystring

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

excludestring[]

List of users to be excluded from the search results

showAvatarboolean

If true, then avatars are included in the results

Responses
200

Returns a list of users matching query with highlighting.

object
401

Returned if the current user is not authenticated.

404

Returned if the requested user is not found.

Try it
Server
Authorization
Parameters
Request
curl -X GET 'http://jira.example.com/rest/api/2/user/picker' \
  -H 'Authorization: Basic YOUR_CREDENTIALS' \
  -H 'Accept: application/json'
Response
{}

Was this page helpful?