The dev assignee and Reporter columns are of type “multiple-person” and with id of “person”.
I am having a person’s id, which I’m trying to insert in the followingway:
mutation {
create_item(
board_id: 3782143770,
item_name: "New ItemZzzZ",
column_values: "{\"multiple-person\":{\"person\":[{\"id\":\"36904156\"}]}}") {
id
name
}
}
I get a new item being created with correct title, but the assigned person is the first person in the alphabetic order, no matter what person id i put inside.
So, yeah, I’m quite struggling with inserting a person into the multiple-person column, and I couldn’t find anything in the web which was actually working for my case.
I am attempting to enter the user using the person’s id, in the following way (based on your response):
mutation {
create_item(board_id: 3712123731, item_name: "My iteM froM api", column_values: "{\"people\": \"36914456\"}") {
id
}
}
yet it doesn’t add the person to the newly created item. was the mutation correct?
(considering the column id which i’m attempting to add a value to is “person”)
tried also the second option in the following way:
mutation {
create_item(board_id: 3782143770, item_name: "My item", column_values: "{\"people\": {\"personsAndTeams\":[{\"id\":36904156,\"kind\":\"person\"}]}}") {
id
}
}