Skip to main content

Hi, I am trying to change field - people,

It doesn’t return any error but the field is not changed

I am updating 3 fields: checkbox, date and person

The first 2 fields are updated, but the person doesn’t.

This is my request from the postman:

{

“query”: “mutation {change_multiple_column_values(item_id:1361107268, board_id:1352790395, column_values: "{\\"date_10\\" : {\\"date\\" : \\"2024-01-19\\"}, \\"person\\" : {\\"person\\" : r{\\"id\\":52096902,\\"kind\\":\\"person\\"}]}, \\"checkbox1\\" : {\\"checked\\" : \\"true\\"}}" ) {id}}”

}


The user exists and the field ID is person.

i have tried send this request multiple times in the last 10 minutes.

Please help

Just in case your board is either private or shareable: the user needs to be subscribed to the board before you can assign the person to a people column.



I see that two users are subscribed to this board:

“boards”:

{

“name”: “Time tracking”,

“state”: “active”,

“id”: “1352790395”,

“permissions”: “everyone”,

“subscribers”: e

{

“id”: 52185992

},

{

“id”: 53726878

}

]

}

]


I have tried to assign 53726878 to the board and still the person not updated:


{

“query”: “mutation {change_multiple_column_values(item_id:1361107268, board_id:1352790395, column_values: "{\\"date_10\\" : {\\"date\\" : \\"2024-01-19\\"}, \\"person\\" : {\\"person\\" : "{\\"id\\":53726878,\\"kind\\":\\"person\\"}]}, \\"checkbox1\\" : {\\"checked\\" : \\"true\\"}}" ) {id}}”

}


That’s weird, I suggest to contact monday support on this one


I would suggest reviewing the mutation for change_multiple_column_values for People columns here: People you may find you need to alter the value object for the person column to be person: {personsAndTeams: [{id:"123213213", kind: "person"}]} (I didn’t bother turning it to JSON, but you can do that I am sure. (hint: personsAndTeams)


Reply