Examples: query, "exact match", wildcard*, wild?ard, wild*rd
Fuzzy search: cake~ (finds cakes, bake)
Term boost: "red velvet"^4, chocolate^2
Field grouping: tags:(+work -"fun-stuff")
Escaping: Escape characters +-&|!(){}[]^"~*?:\ with \, e.g. \+
Range search: properties.timestamp:[1587729413488 TO *] (inclusive), properties.title:{A TO Z}(excluding A and Z)
Combinations: chocolate AND vanilla, chocolate OR vanilla, (chocolate OR vanilla) NOT "vanilla pudding"
Field search: properties.title:"The Title" AND text
Answered
How Can I Do The Following? (Basically, Filtering By Task Type)

How can I do the following? (basically, filtering by task type)
Task.get_tasks(project_name="my-project", task_name="my-task", task_filter=dict(type="training")))

  
  
Posted 3 years ago
Votes Newest

Answers 5


I found, the filter actually has to be an iterable:
Task.get_tasks(project_name="my-project", task_name="my-task", task_filter=dict(type=["training"])))

  
  
Posted 3 years ago

yes, so you can have a few options 🙂

  
  
Posted 3 years ago

JitteryCoyote63 to filter out 'archived tasks' (i.e. exclude archived tasks)
Task.get_tasks(project_name="my-project", task_name="my-task", task_filter=dict(system_tags=["-archived"])))

  
  
Posted 3 years ago

Thanks!

  
  
Posted 3 years ago

AgitatedDove14 How can I filter out tasks archived? I don't see this option

  
  
Posted 3 years ago
489 Views
5 Answers
3 years ago
one year ago
Tags