Repository navigation
Team
from xurrent import Team · module xurrent.teams · API resource /teams · Xurrent API docs
A team of people to which requests, tasks and problems are assigned.
The named arguments of the constructor. Every other field of the API response is set as an attribute as well.
| Field | Type | Default | Converted to |
|---|---|---|---|
id |
|||
name |
str |
None |
|
description |
str |
None |
Team.get_by_id(connection_object: XurrentApiHelper, id) -> TAPI: GET /teams/{id}
Team.get_teams(connection_object: XurrentApiHelper, predefinedFilter: TeamPredefinedFilter = None, queryfilter: dict = None) -> List[T]API: GET /teams · Enums: TeamPredefinedFilter
Team.create(connection_object: XurrentApiHelper, data: dict) -> TCreate a new team object.
-
connection_object: Xurrent Connection object -
data: Data dictionary (containing the data for the new team)
API: POST /teams
team.ref_str() -> strReturn a string representation of the object.
team.get_members() -> List[Person]Retrieve the members of the team.
API: GET /teams/{id}/members · Uses: Person
team.update(data) -> TAPI: PATCH /teams/{id}
team.enable(new_name: str = None) -> TEnable the team.
team.disable(prefix: str = '', postfix: str = '') -> TDisable the team.
team.archive() -> TArchive the team.
API: POST /teams/{id}/archive
team.restore() -> TRestore the team.
API: POST /teams/{id}/restore
team.trash() -> TTrash the team.
API: POST /teams/{id}/trash
team.get_service_instances() -> ListRetrieve service instances assigned to this team.
API: GET /teams/{id}/service_instances · Uses: ServiceInstance
Used by: Team.get_teams
| Value | Description |
|---|---|
disabled |
List all disabled teams |
enabled |
List all enabled teams |
Uses:
-
Person:
get_members() -
ServiceInstance:
get_service_instances()
Used by:
-
Person:
get_teams() -
Problem:
team -
Product:
support_team -
ProjectTask:
team -
Request:
team -
RequestTemplate:
team -
Service:
first_line_team,support_team
- XurrentApiHelper
- Calendar
- ClosureCode
- ConfigurationItem
- Contract
- CustomCollection
- CustomCollectionElement
- EffortClass
- Holiday
- KnowledgeArticle
- Organization
- OutOfOfficePeriod
- Person
- Problem
- Product
- ProductCategory
- Project
- ProjectTask
- Release
- Request
- RequestTemplate
- Risk
- Service
- ServiceInstance
- ServiceOffering
- ShopArticle
- ShopArticleCategory
- ShopOrderLine
- Site
- SkillPool
- Task
- Team
- TimeAllocation
- UiExtension
- Workflow
- WorkflowTemplate