Skip to main content

Read item's text by name

  • November 7, 2022
  • 3 replies
  • 1094 views

idoya

Hi
Inside items Im trying to get the text field of id:“pm” inside “column_values” by searching a name but this is not possible, tried also Items By Multiple Column Values and Items By Column Values but could not search name to get the text attached to it.
Can you guide me how the call should look like?

This topic has been closed for replies.

3 replies

idoya
  • Author
  • New Participant
  • November 7, 2022

@Nachliel Cant see how it helps me.
The only params I can pass in your solution is
board_id, column_id ,column_value
I want to get the text field of PM id using specific name, to make it clearer I want to pass the green arrow and get back the red arrow:

Can you help on how the call should look like?


basdebruin
  • Community Expert
  • November 7, 2022

There isn’t a name argument for items as also shown in the error message in the Playground screenshot. You can search for the name with:

{
  items_by_column_values(board_id: 123456789, column_id: "name", column_value: "Item 2") {
    id
  }
}

but remember the search (in this example “Item 2” needs to be exact - case sensitive, no wildcards). The above query will give you the itemId for the item named “Item 2” on board 123456789


  • November 14, 2022

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.