Define status labels via API

I’m seeing that you can create a column on a board with this:

mutation {
  create_column (board_id: 20178755, 
        title: "Work status", column_type: dropdown) {
    id
  }
}

But no where in the documentation i see a way of defining the labels for the column_type dropdown.

When trying to set a label on a item

mutation {
  change_column_value (board_id: 20178755, 
      item_id: 200819371, column_id: "status", 
      value: "{\"label\": \"done\"}") {
    id
  }
}

You get a error back that the label does not exist. So it seems you can create a column but not define the options of a dropdown column through the api. Is this true?

Have the same question. How can I change the label of a certain index?
Say I want index 0 to be called 'NotDone`. Is there no way to do this with API?

Hey there!

At the moment it is not possible to change the settings or label configuration of a particular column via the API. Instead, you need to do this in the GUI.

Can you tell me a bit about your use case here? I’d love to learn what you’re trying to use this for.

Piggybacking off of this older thread, but I’d like something similar in the ability to modify label options with the API. For instance, the dropdown label options themselves need to change based on active clients in our DB. If we stop working with a client or work with a new one, then ideally it would be reflected in our DB which would then update the options for the dropdown. Doing this manually using the GUI is something we’d like to avoid because of the potential for human error in spelling and people do forget.

2 Likes

Awesome. Please upvote this post so we can track the demand for this feature and see how many folks would find it helpful.

Definitely useful.

My use case is using Monday as a front end for database information.
Statuses make an easier way to control columns that need to be something like yes, no, or maybe than linking a board. However, I may want to update a bunch of those columns to say “sometimes.” It’s also a much cleaner look on the interface than linked columns.