public function getIssue($id)
{
$response = $this->client->apiIssues()->get($this->getUsername(), $this->getRepository(), $id);
$resultArray = json_decode($response->getContent(), true);
$issue = $this->adaptIssueStructure($resultArray);
return $issue;
}