@@ -26,10 +26,11 @@ public function get($parameters)
2626 }
2727
2828 /**
29- * Returns a list of users that match the search string and/or property.
29+ * Returns a list of users that match the search string and/or property and
30+ * are assignable to projects or issues.
3031 * This resource cannot be accessed anonymously.
3132 *
32- * @see https://developer.atlassian.com/cloud/jira/platform/rest/v3/#api-rest-api-3-users -search-get
33+ * @see https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-user-search/ #api-rest-api-3-user -search-get
3334 *
3435 * @param array|\\Illuminate\\Contracts\\Support\\Arrayable $parameters
3536 *
@@ -44,5 +45,24 @@ public function search($parameters)
4445 return $ this ->execute ('get ' , 'user/search ' , $ parameters );
4546 }
4647
48+ /**
49+ * Returns a list of users that match the search string and/or property
50+ * This resource cannot be accessed anonymously.
51+ *
52+ * @see https://developer.atlassian.com/cloud/jira/platform/rest/v3/#api-rest-api-3-users-search-get
53+ *
54+ * @param array|\\Illuminate\\Contracts\\Support\\Arrayable $parameters
55+ *
56+ * @return \GuzzleHttp\Psr7\Response
57+ * @throws \Atlassian\JiraRest\Exceptions\JiraClientException
58+ * @throws \Atlassian\JiraRest\Exceptions\JiraNotFoundException
59+ * @throws \Atlassian\JiraRest\Exceptions\JiraUnauthorizedException
60+ * @throws \GuzzleHttp\Exception\GuzzleException
61+ */
62+ public function searchAll ($ parameters )
63+ {
64+ return $ this ->execute ('get ' , 'users/search ' , $ parameters );
65+ }
66+
4767
48- }
68+ }
0 commit comments