Skip to content

Project

Fabian Steiner edited this page Nov 4, 2026 · 2 revisions

Project

from xurrent import Project · module xurrent.projects · API resource /projects · Xurrent API docs

A project with its phases, tasks, workflows and risks.

Back to the overview

Fields

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 ProjectStatus (unknown values stay text)
category Optional[str] None ProjectCategory (unknown values stay text)
manager None Person

Class methods

get_by_id

Project.get_by_id(connection_object: XurrentApiHelper, id: int) -> T

API: GET /projects/{id}

get_projects

Project.get_projects(connection_object: XurrentApiHelper, predefinedFilter: ProjectPredefinedFilter = None, queryfilter: dict = None) -> List[T]

API: GET /projects · Enums: ProjectPredefinedFilter

create

Project.create(connection_object: XurrentApiHelper, data: dict) -> T

API: POST /projects

Methods

ref_str

project.ref_str() -> str

update

project.update(data: dict) -> T

API: PATCH /projects/{id}

archive

project.archive() -> T

API: POST /projects/{id}/archive

trash

project.trash() -> T

API: POST /projects/{id}/trash

restore

project.restore() -> T

API: POST /projects/{id}/restore

get_tasks

project.get_tasks(queryfilter: dict = None) -> List

API: GET /projects/{id}/tasks · Uses: Task

get_phases

project.get_phases(queryfilter: dict = None) -> List[dict]

API: GET /projects/{id}/phases

get_workflows

project.get_workflows(queryfilter: dict = None) -> List

API: GET /projects/{id}/workflows · Uses: Workflow

get_risks

project.get_risks(queryfilter: dict = None) -> List[dict]

API: GET /projects/{id}/risks

get_notes

project.get_notes(queryfilter: dict = None, sort: Optional[str] = None, max_results: Optional[int] = None) -> List[dict]

Retrieve the notes of the current project.

  • 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 /projects/{id}/notes

add_note

project.add_note(note) -> dict

API: POST /projects/{id}/notes

Enums

ProjectPredefinedFilter

Used by: Project.get_projects

Value Description
completed
open
managed_by_me

ProjectStatus

Used by: Project.status

Value Description
registered
in_progress
progress_halted
completed

ProjectCategory

References of the project categories of new accounts. Project categories are defined per account (GET /project_categories); a project with another category keeps its reference as text.

Used by: Project.category

Value Description
small
medium
large

Cross references

Uses:

Used by:

  • Risk: get_projects()

Clone this wiki locally