I have been banging my head against this for days. I just want to return a list of all tasks within a folder that are flagged using JXA. Forum and Google searches reveal nothing. A little help? thanks.
I think you should first obtain all the projects in that folder, and then concatenate the tasks of those projects to obtain a list of tasks contained in that folder.