Issue Status

Supported by Redmine starting from version 1.3

Manager

All operations on the IssueStatus resource are provided by its manager. To get access to it you have to call redmine.issue_status 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

New in version 2.1.0.

redminelib.managers.ResourceManager.get(resource_id)

Returns single IssueStatus resource from Redmine by its id.

Parameters:

resource_id (int) – (required). Id of the issue status.

Returns:

Resource object

>>> status = redmine.issue_status.get(1)
>>> status
<redminelib.resources.IssueStatus #1 "Rejected">

all

redminelib.managers.ResourceManager.all()

Returns all IssueStatus 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

>>> statuses = redmine.issue_status.all()
>>> statuses
<redminelib.resultsets.ResourceSet object with IssueStatus resources>

Hint

IssueStatus resource object provides you with some relations. Relations are the other resource objects wrapped in a ResourceSet which are somehow related to an IssueStatus resource object. The relations provided by the IssueStatus resource object are:

  • issues

>>> statuses = redmine.issue_status.all()
>>> statuses[0]
<redminelib.resources.IssueStatus #1 "New">
>>> statuses[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