@Mateusz_Stabryła, I was wondering the same.
@Zach_Brak - do you have a working example of this? I can’t find a request structure which actually populates the field values when creating tasks. An object with a gid
is accepted, but results in an empty field.
I would expect to provide an array of User gids
to match the way multi-enum
values are specified, but this results in an error response:
POST /tasks
{
"data": {
"custom_fields": {
"12028338781111111": [
"859281111111"
]
},
"name": "Test people creation",
"projects": [
"120283381111111"
]
}
}
Response
{
"errors": [
{
"message": "people_value: Value is not an object",
"help": "For more information on API status codes and how to handle them, read the docs on errors: https://developers.asana.com/docs/errors"
}
]
}