protected function getSupportedComponents()
{
$response = $this->client->apiIssues()->components()->all($this->getUsername(), $this->getRepository());
$resultArray = json_decode($response->getContent(), true);
$components = [];
foreach ($resultArray as $comment) {
$components[] = $comment['name'];
}
return $components;
}