Join Wintertainment 2021 to share your stories, have fun, earn community badges, and more!

Get Defect by ID

Applies to QAComplete 12.94 SaaS, last modified on December 06, 2021

To get a defect specified by its ID, you call the …/projects/{ProjectId}/defects/{Id} (GET) method. The Id parameter specifies the ID of the needed defect.

To get items of other types (tests or requirements), you use the appropriate methods. See /projects/{ProjectId}/requirements/{Id} (GET) and /projects/{ProjectId}/tests/{Id} (GET).


curl -u -X GET -H "Content-Type: application/json" -H "Accept: application/json"


The server will return information on the defect:

  "id": 12,
  "title": "Floating toolbar improvements",
  "status": "Resolved",
  "__permissions": {
    "acl": 7
  "act_finish": "2015-06-31T00:00:00.0000000",
  "act_hrs": 0,
  "act_start": "2015-06-17T00:00:00.000000",
  "actual_results": "The design of the floating toolbar is inconsistent.",
  "assigned_to_name": "Smith, John",
  "assignee_user_id": 27942,
  "closed_by": 27942,
  "custom_fields": [],
  "date_closed": "0001-01-01T00:00:00.0000000",
  "date_created": "2015-05-26T10:54:21.0930000",
  "date_opened": "2015-05-27T11:42:29.1700000",
  "date_resolved": "2015-06-24T09:55:25.4500000",
  "date_updated": "2015-06-24T09:55:25.4500000",
  "description": "The design of the floating toolbar needs improvement",
  "est_finish": "0001-01-01T00:00:00.0000000",
  "est_hrs": 0,
  "est_hrs_remaining": 0,
  "est_start": "0001-01-01T00:00:00.0000000",
  "expected_results": "This should work",
  "folder_id": 52359,
  "folder_name": "UI Defects",
  "functional_area_code": "",
  "how_found_code": "Code Review",
  "import_id": 0,
  "issue_code": "Code Defect",
  "nbr_events": 0,
  "nbr_files": 1,
  "nbr_notes": 1,
  "nbr_tasks": 0,
  "opened_by": 27942,
  "opened_by_company": "EDGB",
  "opened_by_email": "",
  "opened_by_name": "Smith, John",
  "original_id": 0,
  "owner_name": "Smith, John",
  "owner_user_id": 27942,
  "pct_complete": 0,
  "priority_code": "1-Fix ASAP",
  "project_id": 11873,
  "resolution": "Toolbar is redesigned",
  "resolution_code": "Fixed",
  "resolved_by": 27942,
  "resolved_by_name": "Smith, John",
  "severity_code": "1-Crash",
  "software_version_code": "1.0",
  "steps_to_repro": "step 1\r\nstep 2\r\nstep 3\r\nstep 3.1\r\nstep 3.2\r\n",
  "update_user_id": 27942,
  "user_name": "Smith, John"

See Also

/projects/{ProjectId}/defects/{Id} (GET)

Highlight search results