maton asana task search [flags]

Search a workspace’s tasks by text and/or filters. Requires an Asana Premium subscription. The endpoint does not use cursor pagination — pass –limit to cap results.

Options

--assignee <string>
Comma-separated assignee gids (use 'me' for yourself)
--completed
Filter by completion status (use --completed=false for open tasks)
--connection <string>
Connection ID to route through (Maton-Connection header)
--dry-run
Print the request that would be sent without executing it
-q, --jq <expression>
Filter JSON output using a jq expression
--json
Output raw JSON
-L, --limit <int> (default 0)
Max results to return
--opt-fields <string>
Comma-separated fields to return
--projects <string>
Comma-separated project gids
-t, --template <string>
Format JSON output using a Go template; see "maton help formatting"
--text <string>
Text to search for
-w, --workspace <string>
Workspace gid (required)

Options inherited from parent commands

-p, --profile <string>
Profile to use for this invocation (overrides the active profile; also reads MATON_PROFILE)

Examples

$ maton asana task search -w 12345 --text 'quarterly report'
$ maton asana task search -w 12345 --assignee me --completed=false
$ maton asana task search -w 12345 --projects 67890,67891 --text spec

See also