- edited description
I can't get content from response
Issue #63
invalid
I used code below:
$issue = new \Bitbucket\API\Repositories\Issues(); $issue->setCredentials( new \Bitbucket\API\Authentication\Basic("*", "***") );
$repo_slug = "*****";
$account_name = "******";
$issue->create($account_name, $repo_slug, array(
'title' => 'dummy title 11',
'content' => 'dummy content',
'kind' => 'proposal',
'priority' => 'blocker'
));
$model_bitbucket = new Bitbucket;
$data = $model_bitbucket->parseData($issue);
$client = $issue->getClient();
// $client = (array) $client;
dump($issue);
I want to get issue detail when create an issue
Comments (2)
-
reporter -
- changed status to invalid
$issue->create()
returns a MessageInterface instance from which you can get the response body.$response = $issue->create(/** .... */); $response->getContent();
- Log in to comment