Can somebody tell me what I'm missing for adding users to a JSM Organization through the API?
I've tried to follow the documentation here but get an error message "could not find accountIDs". These are the users' Atlassian account ID's, right?
I also can't tell from the documentation if I need to add "qm:" in front of the account ID for some reason, though I tried with and without the prefix and get the same error.
Try this:
{
"accountIds": [
"5cebb63244b40b0f28dd69f6"
]
}
You will get a 204 reply but it will add the user to the org.
Get your user ID by going to top right -> profile -> check URL
Regards
@Aaron Pavez _ServiceRocket_ sorry, I'm not sure how what you provided is different than the screenshot. I pixelated the Account ID for privacy reasons, but I did provide a valid Atlassian account ID in my POST and still got the below error message.
{
"errorMessage": "Could not find accountIds: [redacted]",
"i18nErrorMessage": {
"i18nKey": "sd.request.participants.validation.missing.account.ids",
"parameters": [
"[redacted]"
]
}
}
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
I can only think that the account id is not valid. Just tested it and it works.
double-check the ID by going to your profile.
Test it with your ID.
Or the user you are adding to the JSM organization doesn't have permission on the JSM project.
Regards
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You're absolutely right, it seems I mis-copied the account ID.
Thanks!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.