Optionalparameters: {OptionalaccountId?: stringA query string that is matched exactly against user accountId. Required, unless query is specified.
OptionalaccountType?: string[]OptionalactionDescriptorId?: numberThe ID of the transition.
OptionalappType?: string[]OptionalissueId?: stringThe ID of the issue. Required, unless issueKey or project is specified.
OptionalissueKey?: stringThe key of the issue. Required, unless issueId or project is specified.
OptionalmaxResults?: numberThe maximum number of items to return. This operation may return less than the maximum number of items even if more are available. The operation fetches users up to the maximum and then, from the fetched users, returns only the users that can be assigned to the issue.
Optionalproject?: stringThe project ID or project key (case sensitive). Required, unless issueKey or issueId is specified.
Optionalquery?: stringA query string that is matched against user attributes, such as displayName, and emailAddress, to find relevant
users. The string can match the prefix of the attribute's value. For example, query=john matches a user with a
displayName of John Smith and a user with an emailAddress of johnson@example.com. Required, unless
username or accountId is specified.
Optionalrecommend?: booleanOptionalsessionId?: stringThe sessionId of this request. SessionId is the same until the assignee is set.
OptionalstartAt?: numberThe index of the first item to return in a page of results (page offset).
Optionaloptions: RequestOptions
Returns a list of users that can be assigned to an issue. Use this operation to find the list of users who can be assigned to:
projectKeyOrId.issueKeyorissueId.issueKeyorissueIdand the transition id inactionDescriptorId. You can obtain the IDs of an issue's valid transitions using thetransitionsoption in theexpandparameter of Get issue.In all these cases, you can pass an account ID to determine if a user can be assigned to an issue. The user is returned in the response if they can be assigned to the issue or issue transition.
This operation takes the users in the range defined by
startAtandmaxResults, up to the thousandth user, and then returns only the users from that range that can be assigned the issue. This means the operation usually returns fewer users than specified inmaxResults. To get all the users who can be assigned the issue, 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.
Permissions required: Browse users and groups global permission or Assign issues project permission