Search users
jira_search_usersFind Jira users by display name or email and get their accountId. Restrict results to those assignable to a specific issue or project, and request email only when needed.
Instructions
Finds Jira users by display name or email and returns their accountId — the id every other tool takes, since Cloud has no usernames. Pass issue or project to restrict the answer to people who can be assigned there (issue wins). Email is personal data: it is dropped unless includeEmail is true, and a site that masks it says so with the email_hidden hint. One page per call — when paging.partial is true, call again with startAt = paging.nextStartAt.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| issue | No | Issue key or id. Present ⇒ only users who can be ASSIGNED to that issue are returned. Wins over `project` when both are given. | |
| query | Yes | A display name, part of one, or an email address. Matched server-side by Jira. There are no usernames on Cloud, so this is the only thing to search by. | |
| profile | No | Named credential profile for this call. Omit to use the active profile. Rejected when the server locks the profile (JIRA_LOCK_PROFILE). | |
| project | No | Project key or id. Present ⇒ only users assignable in that project are returned. Ignored when `issue` is also given. | |
| startAt | No | Offset to resume from — pass `paging.nextStartAt` from the previous call. | |
| maxResults | No | Rows to ask for; default 50, values above 100 are clamped. One page per call. | |
| includeEmail | No | Return emailAddress when Jira exposes it. Default false: email is personal data and is dropped from every row unless it is explicitly asked for. |