Get report_ID by task_name

With your code above i get all the report_ID’s, so i should have report Objects…
I want to get the report_ID’s for a specific task_name but i dont get this to work