I am trying this:
const users = await asociateUsers.join("&");
//accountId=5f58d00cdf83ab007d7&accountId=5f58d00cdf83ab007d7
const result = await api
.asApp()
.requestJira(route`/rest/api/3/user/bulk?${users}`, {
headers: {
Accept: "application/json",
},
});
Ang get this error:
{
"errorMessages": [
"Either 'usernames' or 'keys' or 'accountIDs' need to be provided"
],
"errors": {}
}
if I use this directly route`/rest/api/3/user/bulk?accountId=5f58d00cdf83ab007d7
it works ok
This works for me:
/rest/api/3/user/bulk?accountId=ACCOUNT_ID_1&accountId=ACCOUNT_ID_1
See documentation for more parameters.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.