Gush\ThirdParty\Bitbucket\BitbucketIssueTracker::getIssue PHP Method

getIssue() public method

public getIssue ( $id )
    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;
    }