private function getFeature($issue)
    {
        $arrayIssue = (array) $issue;

        if (array_key_exists($this->featureField, $arrayIssue)) {
            return $this->extractFeatureFromString($arrayIssue[$this->featureField]);
        }

        $customFields = $arrayIssue['customFieldValues'];
        foreach ($customFields as $customField) {
            if ($this->featureField == $customField->customfieldId) {
                $value = current($customField->values);

                return $this->extractFeatureFromString($value);
            }
        }

        return '';
    }