Tracker¶
Supported by Redmine starting from version 1.3
Manager¶
All operations on the Tracker resource are provided by its manager. To get access to
it you have to call redmine.tracker
where redmine
is a configured redmine object.
See the Configuration about how to configure redmine object.
Create methods¶
Not supported by Redmine
Read methods¶
get¶
Added in version 2.1.0.
- redminelib.managers.ResourceManager.get(resource_id)
Returns single Tracker resource from Redmine by its id.
- Parameters:
resource_id (int) – (required). Id of the tracker.
- Returns:
Resource object
>>> tracker = redmine.tracker.get(1)
>>> tracker
<redminelib.resources.Tracker #1 "Task">
all¶
- redminelib.managers.ResourceManager.all()
Returns all Tracker resources from Redmine.
- Parameters:
limit (int) – (optional). How much resources to return.
offset (int) – (optional). Starting from what resource to return the other resources.
- Returns:
ResourceSet object
>>> trackers = redmine.tracker.all()
>>> trackers
<redminelib.resultsets.ResourceSet object with Tracker resources>
Hint
Tracker resource object provides you with some relations. Relations are the other resource objects wrapped in a ResourceSet which are somehow related to a Tracker resource object. The relations provided by the Tracker resource object are:
issues
>>> trackers = redmine.tracker.all()
>>> trackers[0]
<redminelib.resources.Tracker #1 "FooBar">
>>> trackers[0].issues
<redminelib.resultsets.ResourceSet object with Issue resources>
filter¶
Not supported by Redmine
Update methods¶
Not supported by Redmine
Delete methods¶
Not supported by Redmine
Export¶
Not supported by Redmine