Provides functionality for interacting with an issue tracker. Authentication is necesary to access private issue tracker, to get more detailed information, to create and to update an issue.
$issue = new Bitbucket\API\Repositories\Issues();
$issue->setCredentials(new Http\Message\Authentication\BasicAuth($bb_user, $bb_pass));
$issue->all($account_name, $repo_slug);
$issue->get($account_name, $repo_slug, 3);
$issue->all($account_name, $repo_slug, array(
'limit' => 5,
'start' => 0,
'search' => 'bug'
));
$issue->create($account_name, $repo_slug, array(
'title' => 'dummy title',
'content' => 'dummy content',
'kind' => 'proposal',
'priority' => 'blocker'
));
$issue->update($account_name, $repo_slug, 5, array(
'title' => 'dummy title (edited)'
));
$issue->delete($account_name, $repo_slug, 5);