Skip to main content

Good morning, i am trying the api v2 from “the try it yourself” editor, sending this mutation:

mutation {

change_multiple_column_values (board_id: xxxx, item_id: xxxxx, column_values: “{"stato": {"label": "Working on it"},"timeline":{"from":"2019-06-03","to":"2019-06-07"},"data":{"date":"2019-06-03"},"persone":{"personsAndTeams":e{"id":xxxxx,"kind":"person"}]}}”) {

id

}

}

i get back an internal server error code 500, if i remove this part:

,\\"persone\\":{\\"personsAndTeams\\":e{\\"id\\":xxxxx,\\"kind\\":\\"person\\"}]}


then it work fine.

where is the mistake?

thanks

seems like the correct mutation. can you make sure “persone” column is a multiple person column and not a person column?

you can use this query to do so:


boards(ids:xxx){
columns{
title
type
id
}
}

this is the response:

{

“title”: “Persone”,

“type”: “multiple-person”,

“id”: “persone”

},


Hey @abalest14 – thanks for sending that over.


Let’s solve this over a ticket. I just sent you a direct message following up.


Cheers,

Dipro


I’m having the same problem. Did you get this fixed? If so, how?


Switch to V1 of the api. V2 is not finished has a lot of bugs and is missing a lot of functionality.


Hello, I am having the same issue.


Here is my code:

{


“query”: "mutation {\\n change_column_value(board_id: 657972484, item_id: 627338655, column_id: “person”, value: "{“personsAndTeams”:A{“id”:11161799,“kind”:“person”}]} “) {\\n id\\n} }”


}


@dipro did you manage to solve the issue from this topic? Interested too.