Repository navigation
ProjectTask
Fabian Steiner edited this page Nov 4, 2026
·
2 revisions
from xurrent import ProjectTask · module xurrent.project_tasks · API resource /project_tasks · Xurrent API docs
A task of a project, assigned to a team or a person.
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 |
int |
||
subject |
Optional[str] |
None |
|
status |
Optional[str] |
None |
|
category |
Optional[str] |
None |
|
project |
None |
||
manager |
None |
Person | |
team |
None |
Team |
ProjectTask.get_by_id(connection_object: XurrentApiHelper, id: int) -> TAPI: GET /project_tasks/{id}
ProjectTask.get_project_tasks(connection_object: XurrentApiHelper, predefinedFilter: ProjectTaskPredefinedFilter = None, queryfilter: dict = None, max_results: Optional[int] = None) -> List[T]API: GET /project_tasks · Enums: ProjectTaskPredefinedFilter
ProjectTask.update_by_id(connection_object: XurrentApiHelper, id: int, data: dict) -> Tproject_task.ref_str() -> strproject_task.update(data: dict) -> TAPI: PATCH /project_tasks/{id}
project_task.get_notes(queryfilter: dict = None, sort: Optional[str] = None, max_results: Optional[int] = None) -> List[dict]Retrieve the notes of the current project task.
-
queryfilter: Optional filter parameters (e.g. created_at, medium, person) -
sort: Optional order, e.g. '-created_at' for the newest note first (default: ascending by id) -
max_results: Return at most this many notes, fetching only the pages needed (default: all) - Returns: List of notes
API: GET /project_tasks/{id}/notes
project_task.add_note(note) -> dictAdd a note to the current project task.
-
note: Note text, or a dictionary with the note data (e.g. text, suppress_note_added_notifications) - Returns: The note that was added
API: POST /project_tasks/{id}/notes
Used by: ProjectTask.get_project_tasks
| Value | Description |
|---|---|
finished |
List all finished project tasks |
open |
List all open project tasks |
managed_by_me |
List all project tasks of projects which manager is the API user |
assigned_to_me |
List all project tasks that are assigned to the API user |
open_to_me |
List all project tasks assigned to the API user with status Assigned, Accepted, In Progress or Waiting for |
| Value | Description |
|---|---|
registered |
|
assigned |
|
accepted |
|
in_progress |
|
waiting_for |
|
failed |
|
rejected |
|
completed |
|
approved |
|
canceled |
| Value | Description |
|---|---|
activity |
|
approval |
|
milestone |
Uses:
- 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