I am trying to update a week column with the api, however, I am running into an issue.
Whenever I try to add a value to the week column for a given item, the API returns successfully, however, the week fails to update on my board. This happens no matter what I am using (python or the graphql explorer) and even when I try to run the example provided in the documentation here, replacing the boardid and itemid with my values.
I have also noticed that when I fill the value in monday normally and then try to update it with the api, the value gets wiped from the item.
Not sure what is going on here, any and all help will be apricated.
run it and check the result in the board. I am sure your week will be updated
In many case people have the value wrong (with the escape characters etc) and using this method you will quickly learn what value is expected (in which format) for that column.
@basdebruin Thanks for the response!
I have got the change_column_value mutation working in both the playground and my python script
However, I have now found out that the issue lies with the change_multiple_column_values mutation
In the playground I ran this snippet:
However, the week column remains not updated for this item, and when I fill in the value with the UI and then run this mutation the value gets removed from the item.
If you want to use change_multiple_values you have to sepecify the column/value pairs (“columnId”:“value”). As this column type requires an object in the form:
and the columnId is probably “week” also, your full mutation will look a little weird as the string “week” is 2 times present (1st is the columnid and 2nd is part of the object)