public function getStatuses($projectIdOrKey)
{
$ret = $this->exec($this->uri . "/{$projectIdOrKey}/statuses", null);
$json = json_decode($ret);
$results = array_map(function ($elem) {
return $this->json_mapper->map($elem, new IssueType());
}, $json);
return $results;
}