Skip to main content

GraphQL Query

  • November 24, 2023
  • 2 replies
  • 296 views

Hi guys,

I am trying to get some items of my team which are overdue using the following query:

query {
items_page_by_column_values (limit: 50, board_id: 4001269428, columns: [{column_id: “timeline”, column_values: [“PAST_TIMELINE”], compare_attribute: [“START_DATE”]}, {column_id: “priority”, column_values: [“Low”, “High”, “Medium”]}, {column_id: “people”, column_values: [“xxxx”,“xxxx”,“xxxx”,“Meir Peleg”,“xxxx”,“xxxx”, “xxxx”]}, {column_id: “status”, column_values: [“Waiting for xxxx”, “Working on it”, “No Started Yet”]}]) {
cursor
items {
name
creator {
email

  }
  
}

}
}

What’s worng?

2 replies

  • Author
  • New Participant
  • November 27, 2023

Seems like there is API limitation? we can’t combining two “status, TImeline” in same query?


Matias.Monday
Forum|alt.badge.img
  • monday.com Team Member
  • November 29, 2023

Hello there @meirp and welcome to the community!

I hope you like it here 💪

The arguments you are using are not used in this query.

Please use this query as an example on how to build your items_page_by_column_values query:

query {
  items_page_by_column_values (limit: 50, board_id: 1234567890, columns: [{column_id: "text", column_values: ["This is a text column"]}, {column_id: "country", column_values: ["US", "IL"]}]) {
    cursor
    items {
      id
      name
    }
  }
}

Cheers,
Matias