User Defined Fields in Items

Is there a way to retrieve custom user defined fields from items in the API calls?

Hello there @sgraflund and welcome to the community!

I hope you like it here :muscle:

What do you mean by custom user defined fields?

Are you tryin to retrieve specific columns of the items?

If so, you can use the columns’ IDs to do that:

{
  boards(ids: 1234567) {
    items {
      column_values(ids: ["text", "status"]) {
        value
        text
      }
    }
  }
}

You can get your board’s column IDs with a query too:

{
  boards(ids: 1234567) {
    columns {
      id
    }
  }
}

Hope this helps!

Cheers,
Matias

Thanks, yes, I figured it out on my own. Problem was they were in another subtable and I wanted them in the items table. I had to take the json and parse it out to use it the way I wanted.

~WRD037.jpg

1 Like