Filter tasks on card that are outlined

I’m trying to create a filter showing only cards that are in the outline and contain tasks to be completed. This is not working:

{
  "type": "group",
  "op": "and",
  "filters": [
    {
      "type": "visibility",
      "op": "equals",
      "arg": -1,
      "name": "Priority",
      "inv": null,
      "case_sensitive": null
    },
    {
      "type": "perms",
      "op": "can",
      "arg": 16,
      "name": null,
      "inv": null,
      "case_sensitive": null
    },
    {
      "type": "markup",
      "op": "contains",
      "arg": "- [ ]",
      "name": null,
      "inv": null,
      "case_sensitive": null
    }
  ]
}

What am I doing wrong here?

Hi @mjax,

Happy to help! The issue was the you had arg: -1 which is Invisible, not arg: 1 which is Priority, more on the different values here. The name is only used for naming that filter not for defining which one is used.

Click / scan this to add the working collection:

image

Works like a charm! Thanks!

1 Like