Hi everyone!
I'm trying to add all users from the role in the project to the custom user field. But it gives an error "data was not an array"
My JSON looks like this:
{
"fields": {
"customfield_10301": "ProjectRole_10505"
}
}
What am I doing wrong?
Thank you in advance guys!
Kind regards,
Olga
Hi,
Welcome to the community
You need to passe each user one by one like this:
"fields": {
"customfield_10301": { "name": "username" }
}
}
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.