Install
Works with Drupal: ^11 || ^12Using Composer to manage Drupal site dependencies
Alternative installation files
Release notes
The module now ships a PHP client for the BugHerd REST API (v2), so your code can read and create BugHerd data:
$client = \Drupal::service('bugherdapi.client'); $tasks = $client->getTasks($project_id, ['status' => 'backlog']); $task = $client->createTask($project_id, ['description' => 'Contact form throws a 500.']);
Covers organization, users, projects, tasks, comments and webhooks, pages through long listings, and throws a typed exception that tells a rejected key from a hit rate limit. Built on core's http_client, so no new dependencies.
It needs a personal API key, which is separate from the project key and secret. Set it on the config form, or better, in settings.php:
$config['bugherdapi.settings']['api_key'] = 'your-api-key';Also adds the missing config schema and unit test coverage.
Upgrading from 2.3.0: nothing to do. The API client is optional and the feedback widget is unchanged. Still requires Drupal 11 or 12.