Hi guys, I’ve looked up the documentation but couldn’t find anything specifying which fields are allowed at the AdvancedSearch option for the allCards query.
Could you please list them here and/or append to the documentation?
Thanks
Bernardo
Hi guys, I’ve looked up the documentation but couldn’t find anything specifying which fields are allowed at the AdvancedSearch option for the allCards query.
Could you please list them here and/or append to the documentation?
Thanks
Bernardo
Best answer by Marcos Carvalho
Hi
This AdvancedSearch option can be used just for the “due_date” and “updated_at” fields.
But in order to do that, you must provide a valid datetime value just like this one:
"2017-12-18T00:00:00-02:00"
Here some code snippets for you:
{
allCards(pipeId: 12345678, filter: {field: "updated_at", operator: gt, value: "2017-12-18T00:00:00-02:00"}) {
edges {
node {
id
}
}
}
}
{
allCards(pipeId: 12345678, filter: {field: "due_date", operator: gt, value: "2017-12-18T00:00:00-02:00"}) {
edges {
node {
id
}
}
}
}
Hope it helps you
No account yet? Create an account
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.