GET /rest/api/2/user/viewissue/search
Returns a list of users who fulfill these criteria:
- their user attributes match a search string.
- they have permission to browse issues.
Use this resource to find users who can browse:
- an issue, by providing the
issueKey
. - any issue in a project, by providing the
projectKey
.
This operation takes the users in the range defined by startAt
and maxResults
, up to the thousandth user, and then returns only the users from that range that match the search string and have permission to browse issues. This means the operation usually returns fewer users than specified in maxResults
. To get all the users who match the search string and have permission to browse issues, use Get all users and filter the records in your code.
Privacy controls are applied to the response based on the users' preferences. This could mean, for example, that the user's email address is hidden. See the Profile visibility overview for more details.
This operation can be accessed anonymously.
Permissions required: Browse users and groups global permission. Anonymous calls and calls by users without the required permission return empty search results.
Servers
- https://your-domain.atlassian.net
Query parameters
Name | Type | Required | Description |
---|---|---|---|
startAt |
Integer | No |
The index of the first item to return in a page of results (page offset). Default value: 0 |
query |
String | No |
A query string that is matched against user attributes, such as |
username |
String | No |
This parameter is no longer available. See the deprecation notice for details. |
maxResults |
Integer | No |
The maximum number of items to return per page. Default value: 50 |
accountId |
String | No |
A query string that is matched exactly against user |
issueKey |
String | No |
The issue key for the issue. Required, unless |
projectKey |
String | No |
The project key for the project (case sensitive). Required, unless |
How to start integrating
- Add HTTP Task to your workflow definition.
- Search for the API you want to integrate with and click on the name.
- This loads the API reference documentation and prepares the Http request settings.
- Click Test request to test run your request to the API and see the API's response.