1

I want to list all boards from a specific workspace?..How to correctly write such query

I am doing this way

query {
boards (workspace_id :1405052) {
name
}
}

Getting this error

"errors": [ { "message": "Field 'boards' doesn't accept argument 'workspace_id'",

3 Answers3

0

query { boards { id workspace_id } }

0

you have to use "ids" and not "workspace_id " try this: query { boards (ids: 1405052) { name } }

Have a nice day!

  • Your answer could be improved with additional supporting information. Please [edit] to add further details, such as citations or documentation, so that others can confirm that your answer is correct. You can find more information on how to write good answers [in the help center](/help/how-to-answer). – Community May 22 '22 at 06:36
0

See this thread that states that it is not yet directly implemented. This is how they expect you to do it: "That said, you can query all boards within your account, fetch the workspace ID that they are placed in, and then filter those out in your application’s code"

Inn0v8_m8
  • 1
  • 2