pub async fn find_assignable_users(
configuration: &Configuration,
query: Option<&str>,
session_id: Option<&str>,
username: Option<&str>,
account_id: Option<&str>,
project: Option<&str>,
issue_key: Option<&str>,
start_at: Option<i32>,
max_results: Option<i32>,
action_descriptor_id: Option<i32>,
recommend: Option<bool>,
) -> Result<Vec<User>, Error<FindAssignableUsersError>>
Expand description
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: * a new issue, by providing the projectKeyOrId
. * an updated issue, by providing the issueKey
. * to an issue during a transition (workflow action), by providing the issueKey
and the transition id in actionDescriptorId
. You can obtain the IDs of an issue’s valid transitions using the transitions
option in the expand
parameter 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 startAt
and maxResults
, 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 in maxResults
. To get all the users who can be assigned the issue, use Get all users and filter the records in your code. Permissions required: Permission to access Jira.