Contact Tag

Requires Pro Edition and CRM plugin >= 3.4.0.

Manager

All operations on the ContactTag resource are provided by its manager. To get access to it you have to call redmine.contact_tag where redmine is a configured redmine object. See the Configuration about how to configure redmine object.

Create methods

Not supported by CRM plugin

Read methods

get

Added in version 2.1.0.

redminelib.managers.ResourceManager.get(resource_id)

Returns single ContactTag resource from the CRM plugin by its id.

Parameters:

resource_id (int) – (required). Id of the contact tag.

Returns:

Resource object

>>> tag = redmine.contact_tag.get(1)
>>> tag
<redminelib.resources.ContactTag #1 "Online">

all

redminelib.managers.ResourceManager.all()

Returns all ContactTag resources from the CRM plugin.

Parameters:
  • limit (int) – (optional). How much resources to return.

  • offset (int) – (optional). Starting from what resource to return the other resources.

Returns:

ResourceSet object

>>> tags = redmine.contact_tag.all()
>>> tags
<redminelib.resultsets.ResourceSet object with ContactTag resources>

filter

Not supported by CRM plugin

Update methods

Not supported by CRM plugin

Delete methods

Not supported by CRM plugin

Export

Not supported by CRM plugin