How can I create a time-spent-on-tasks report for a tree of tasks or single page of tasks?

Thanks to @mentaloid there are 2 solutions to the original post:

  • For showing all clocked entries on the whole page, see here
  • For showing all clocked entries for all sub-items below the query heading, see here