Hi everyone,
So I have this Python code:
query = ‘mutation ($myBoardID: Int! , $myItemName: String!, $columnVals: JSON!) { create_item (board_id:$myBoardID, item_name:$myItemName, column_values:$columnVals) { id } }’
vars = {
‘myItemName’: serverName,
‘myBoardID’: self.board_id,
‘columnVals’: json.dumps({
‘status’: {‘label’: str(status[0])},
‘status1’: {‘label’: str(status[1])},
‘status2’: {‘label’: str(status[2])},
‘date4’: {‘date’: str(datetime.date(datetime.now()))},
‘Error’: {‘text4’: Error}
})
}
Unfortunately I can only write to date and status.
How can I know the name of the column in order to write to it?
p.s.
The name of the column I used ‘status’ to fill is not status.
Can I even fill via code more than one status column?
Thanks for your help