How to Query the Parent of a Task?

Hi everyone

I’m trying to figure out how to query the parent of a task.

Tasks appear to have a parent attribute that points to a specific position in a page (if it’s not undefined). Is there a way to retrieve the text of the parent node for a task?

Use Case: I want to query all tasks that either:

  • Mention the current page, or
  • Have a parent node that mentions the current page.

Does anyone have suggestions or examples of how to accomplish this?

Thanks in advance for your help!

1 Like