I can't get content from response

Issue #63 invalid
Thinh Phan created an issue

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);

Screen Shot 2017-05-20 at 22.12.52.png

I want to get issue detail when create an issue

Comments (2)

  1. Log in to comment