not getting tasks for a given project

The following is not returning the set of tasks for a given project:

// then we’ll get the Task information
$related_tasks_parameters = array(
ā€˜session’ => $suitecrm_session_id,
ā€˜module_name’ => ā€œProjectā€,
ā€˜module_id’ => $project_id,
ā€˜link_field_name’ => ā€˜projects_project_tasks’,
ā€˜related_module_query’ => ā€˜ā€™,
ā€˜related_fields’ => array(ā€˜id’,ā€˜name’,ā€˜date_start’,ā€˜date_finish’),
ā€˜related_module_link_name_to_fields_array’ => array(),
ā€˜limit’ => 2,
ā€˜deleted’ => 0,
);
$related_result = call(ā€œget_relationshipsā€, $related_tasks_parameters, $suitecrm_url);

it just returns an empty set. What am I missing?

The following returns me all doucments associated with a project:

// then we’ll get the Project information
$related_documents = array(
ā€˜session’ => $session_id,
ā€˜module_name’ => ā€œProjectā€,
ā€˜module_id’ => $project_id,
ā€˜link_field_name’ => ā€œdocuments_project_1ā€,
ā€˜related_module_query’ => ā€œā€,
ā€˜related_fields’ => array(ā€œidā€,ā€œnameā€,ā€œdocument_type_cā€,ā€œdocument_subcategory_cā€,ā€œdate_modifiedā€,ā€œdescriptionā€),
ā€˜related_module_link_name_to_fields_array’ => array(),
ā€˜limit’ => ā€˜2’,
ā€˜deleted’ => 0,
);
$related_result = call(ā€œget_relationshipsā€, $related_documents, $suitecrm_url);