You are viewing documentation for an outdated version. It is no longer supported!

Trackers

Similar to the Role resource, Redmine's APIopen in new window only supports reading available issue trackers. These can only be obtained as a list.

use Aedart\Redmine\Tracker;

$trackers = Tracker::list();

Note: The trackers API resource does not support pagination!

Issue's tracker

Despite the API limitations of only being available to list trackers, you can still obtain an individual tracker, by means of relations on an issue.

$tracker = $issue
    ->tracker()
    ->fetch();

// ...do something with issue's tracker...
$fields = $tracker->enabled_standard_fields;