How do I get the tasks which associated with issue?

How do I get the tasks which associated with issue?

My bug have a  task associated in Zoho Projects.
I wrote the custom function with this code:
response= zoho.projects.getRecordById("xxx", xxxxx ,"Bugs", xxxxx);
I got the bug response information but it did not included any tasks which were associated.

How do I write the code to get the bug with task associated?

I read the help from :