Skip to content

Problem

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

Problem

from xurrent import Problem · module xurrent.problems · API resource /problems · Xurrent API docs

A problem: the unknown or known cause of one or more incidents, with the requests linked to it.

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 ProblemStatus (unknown values stay text)
impact Optional[str] None ProblemImpact (unknown values stay text)
manager None Person
team None Team
member None Person

Class methods

get_by_id

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

API: GET /problems/{id}

get_problems

Problem.get_problems(connection_object: XurrentApiHelper, predefinedFilter: ProblemPredefinedFilter = None, queryfilter: dict = None, max_results: Optional[int] = None) -> List[T]

API: GET /problems · Enums: ProblemPredefinedFilter

create

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

API: POST /problems

Methods

ref_str

problem.ref_str() -> str

update

problem.update(data: dict) -> T

API: PATCH /problems/{id}

archive

problem.archive() -> T

API: POST /problems/{id}/archive

trash

problem.trash() -> T

API: POST /problems/{id}/trash

restore

problem.restore() -> T

API: POST /problems/{id}/restore

get_requests

problem.get_requests(queryfilter: dict = None) -> List

API: GET /problems/{id}/requests · Uses: Request

get_notes

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

Retrieve the notes of the current problem.

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

add_note

problem.add_note(note) -> dict

API: POST /problems/{id}/notes

Enums

ProblemPredefinedFilter

Used by: Problem.get_problems

Value Description
active
known_errors
progress_halted
solved
managed_by_me
assigned_to_my_team /problems/assigned_to_my_team
assigned_to_my_teams kept unchanged for compatibility; the API answers 404 (see #37)
assigned_to_me

ProblemStatus

Used by: Problem.status

Value Description
declined
assigned
accepted
in_progress
waiting_for
analyzed
change_requested
workflow_pending
on_backlog
project_pending
progress_halted
solved

ProblemImpact

Used by: Problem.impact

Value Description
none
low
medium
high
top

Cross references

Uses:

Used by:

Clone this wiki locally