I am looking to create a board with predefined columns via API. Is it possible to create a button column via API?
thanks in advance
I am looking to create a board with predefined columns via API. Is it possible to create a button column via API?
thanks in advance
Welcome to the community! 😃
I recommend checking out our column types reference to see which columns our API supports. Specifically in regards to the button column, you can only read it via the API.
Let us know if you have any other questions!
Best,
Rachel
I was able to do it with this query after posting the message :
mutation {
create_column(
board_id: 1626997685
title: “Sample Button”
description: “This is a sample button column”
column_type: button
id: “sample_button_column4”
defaults: “{"label":"this is a sample label","text":"this is a sample text","color":"#00FF00"}”
) {
id
title
description
settings_str
}
}
However the defaults field isn’t taken into account.
So 2 follow up questions :
r
Hello there @wisnewski.robert,
When you mention the name of the button, are you referring to the text inside the actual button?
Looking forward to hearing from you!
Cheers,
Matias
Hi Matias,
Yea instead of it saying “Click Here” I want it to say “Start” or “Stop” or “Pause” or whatever with an emoji. Additionally instead of it being the standard blue I need each button to be a different color. For example start should be green, stop red etc etc.
Hello again @wisnewski.robert,
Thank you for that clarification.
As of today, it is not possible to create a button column with a custom text for each button or a custom color. It is also not possible to change those values for an existing column.
Let me know if you have any other questions!
Cheers,
Matias
No account yet? Create an account
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.